linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] arm64: dts: qcom: sa8775p: add basic PMIC support
@ 2023-03-20 15:48 Bartosz Golaszewski
  2023-03-20 15:48 ` [PATCH v2 01/15] arm64: dts: qcom: sa8775p: pad reg properties to 8 digits Bartosz Golaszewski
                   ` (14 more replies)
  0 siblings, 15 replies; 33+ messages in thread
From: Bartosz Golaszewski @ 2023-03-20 15:48 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-gpio, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

This adds support for a number of PMIC functionalities on sa8775p. The PMIC
used on the reference board is pm8654au which is another variant of the SPMI
PMIC from Qualcomm. This series doesn't yet add regulators as these will be
added separately together with upcoming users (UFS, USB, etc.). The RTC
doesn't allow setting time and needs to be used in conjunction with SDAM
the support for which will also be added separately.

This series technically doesn't depend on [1] but it comes after it in my
integration tree and as it's already reviewed and ready to be picked up, I'm
making this one depend on it in terms of patch application to avoid future
merge conflicts.

[1] https://lore.kernel.org/linux-arm-msm/20230309103752.173541-1-brgl@bgdev.pl/

v1 -> v2:
- improve DT coding style where needed
- don't disable the power button in PMIC's .dtsi
- add debounce time for pwrkey and resin inputs
- use the official PMIC's name in DT labels
- add reg-names property for the PON node
- add patches that tidy up the dtsi before the PMIC stuff

Bartosz Golaszewski (15):
  arm64: dts: qcom: sa8775p: pad reg properties to 8 digits
  arm64: dts: qcom: sa8775p: sort soc nodes by reg property
  dt-bindings: interrupt-controller: qcom-pdc: add compatible for
    sa8775p
  arm64: dts: qcom: sa8775p: add the pdc node
  arm64: dts: qcom: sa8775p: add the spmi node
  dt-bindings: mfd: qcom,spmi-pmic: add compatible for pmm8654au
  arm64: dts: qcom: sa8775p: add support for the on-board PMICs
  arm64: dts: qcom: sa8775p-ride: enable PMIC support
  arm64: dts: qcom: sa8775p: add the Power On device node
  arm64: dts: qcom: sa8775p: pmic: add the power key
  arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN
    input
  arm64: dts: qcom: sa8775p: pmic: add thermal zones
  dt-bindings: pinctrl: qcom,pmic-gpio: add compatible for
    pmm8654au-gpio
  pinctrl: qcom: spmi-gpio: add support for pmm8654au-gpio
  arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes

 .../interrupt-controller/qcom,pdc.yaml        |   1 +
 .../bindings/mfd/qcom,spmi-pmic.yaml          |   1 +
 .../bindings/pinctrl/qcom,pmic-gpio.yaml      |   2 +
 arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi   | 137 ++++++
 arch/arm64/boot/dts/qcom/sa8775p-ride.dts     |   1 +
 arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 459 ++++++++++--------
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c      |   1 +
 7 files changed, 404 insertions(+), 198 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi

-- 
2.37.2


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2023-03-22 15:31 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 15:48 [PATCH v2 00/15] arm64: dts: qcom: sa8775p: add basic PMIC support Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 01/15] arm64: dts: qcom: sa8775p: pad reg properties to 8 digits Bartosz Golaszewski
2023-03-20 17:18   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 02/15] arm64: dts: qcom: sa8775p: sort soc nodes by reg property Bartosz Golaszewski
2023-03-21 19:24   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 03/15] dt-bindings: interrupt-controller: qcom-pdc: add compatible for sa8775p Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 04/15] arm64: dts: qcom: sa8775p: add the pdc node Bartosz Golaszewski
2023-03-20 17:21   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 05/15] arm64: dts: qcom: sa8775p: add the spmi node Bartosz Golaszewski
2023-03-20 17:22   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 06/15] dt-bindings: mfd: qcom,spmi-pmic: add compatible for pmm8654au Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 07/15] arm64: dts: qcom: sa8775p: add support for the on-board PMICs Bartosz Golaszewski
2023-03-20 17:29   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 08/15] arm64: dts: qcom: sa8775p-ride: enable PMIC support Bartosz Golaszewski
2023-03-20 17:22   ` Konrad Dybcio
2023-03-20 17:30   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 09/15] arm64: dts: qcom: sa8775p: add the Power On device node Bartosz Golaszewski
2023-03-20 17:23   ` Konrad Dybcio
2023-03-20 17:24     ` Konrad Dybcio
2023-03-21 14:17       ` Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 10/15] arm64: dts: qcom: sa8775p: pmic: add the power key Bartosz Golaszewski
2023-03-20 17:25   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 11/15] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input Bartosz Golaszewski
2023-03-20 17:25   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 12/15] arm64: dts: qcom: sa8775p: pmic: add thermal zones Bartosz Golaszewski
2023-03-20 17:28   ` Konrad Dybcio
2023-03-22  2:50     ` Bjorn Andersson
2023-03-22 15:30       ` Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 13/15] dt-bindings: pinctrl: qcom,pmic-gpio: add compatible for pmm8654au-gpio Bartosz Golaszewski
2023-03-20 15:48 ` [PATCH v2 14/15] pinctrl: qcom: spmi-gpio: add support " Bartosz Golaszewski
2023-03-20 17:28   ` Konrad Dybcio
2023-03-20 15:48 ` [PATCH v2 15/15] arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes Bartosz Golaszewski
2023-03-20 17:29   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).