devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add Qcom PM6125 PMIC, and use in Sony Xperia Seine PDX201
@ 2022-08-05 13:57 Marijn Suijten
  2022-08-05 13:57 ` [PATCH v2 1/5] arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name Marijn Suijten
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Marijn Suijten @ 2022-08-05 13:57 UTC (permalink / raw)
  To: phone-devel
  Cc: ~postmarketos/upstreaming, AngeloGioacchino Del Regno,
	Konrad Dybcio, Martin Botka, Jami Kettunen, Marijn Suijten,
	Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	Jonathan Cameron, Lars-Peter Clausen, linux-arm-msm, devicetree,
	linux-kernel, linux-iio

This series adds initial support for the PM6125 PMIC, and its power key
handling and thermal monitoring capabilities are configured for Sony's
PDX201 (Xperia 10II).

One patch for pm660 is included to fix a node address mismatch with its
reg field.

Note that this series has been based on top of:

  https://lore.kernel.org/linux-arm-msm/20220508100336.127176-1-marijn.suijten@somainline.org/T/#u

To prevent conflicts with the moving around of sdc2 nodes, presuming
that series is applied first.

All dts patches are expected to go through the QCOM DTS tree, whereas
the sole iio patch goes through the IIO tree.

Changes since v1:
- Dropped both pinctrl patches that have already been applied;
- Add -us suffix to qcom,hw-settle-time properties on ADC TM5 nodes
  (this suffix is not present on regular ADC5/VADC nodes);
- Add -state suffix to pm6125_gpio pinctrl nodes;
- Use PMIC_GPIO_FUNC_NORMAL instead of the string-literal "normal";
- Removed #address-cells and #size-cells from empty pmic@1 node;
- Removed ADC5_AMUX_THM3 / ADC5_GPIO2_100K_PU channels from the ADC5
  patch, these are unused on my board and hence untested.

v1: https://lore.kernel.org/phone-devel/20220511220613.1015472-1-marijn.suijten@somainline.org/T/#u

Marijn Suijten (5):
  arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name
  iio: adc: qcom-spmi-adc5: Add missing VCOIN/GPIO[134] channels
  arm64: dts: qcom: Add PM6125 PMIC
  arm64: dts: qcom: sm6125-seine: Include PM6125 and configure PON
  arm64: dts: qcom: sm6125-seine: Configure additional trinket
    thermistors

 arch/arm64/boot/dts/qcom/pm6125.dtsi          | 154 +++++++++++++++++
 arch/arm64/boot/dts/qcom/pm660.dtsi           |   2 +-
 .../qcom/sm6125-sony-xperia-seine-pdx201.dts  | 162 +++++++++++++++++-
 drivers/iio/adc/qcom-spmi-adc5.c              |   8 +
 4 files changed, 324 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/pm6125.dtsi

-- 
2.37.1


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

end of thread, other threads:[~2022-09-08  7:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-05 13:57 [PATCH v2 0/5] Add Qcom PM6125 PMIC, and use in Sony Xperia Seine PDX201 Marijn Suijten
2022-08-05 13:57 ` [PATCH v2 1/5] arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name Marijn Suijten
2022-08-05 13:57 ` [PATCH v2 2/5] iio: adc: qcom-spmi-adc5: Add missing VCOIN/GPIO[134] channels Marijn Suijten
2022-08-06 14:24   ` Jonathan Cameron
2022-08-05 13:57 ` [PATCH v2 3/5] arm64: dts: qcom: Add PM6125 PMIC Marijn Suijten
2022-08-08  9:17   ` Krzysztof Kozlowski
2022-09-07 21:27     ` Marijn Suijten
2022-09-08  7:26       ` Krzysztof Kozlowski
2022-08-05 13:57 ` [PATCH v2 4/5] arm64: dts: qcom: sm6125-seine: Include PM6125 and configure PON Marijn Suijten
2022-08-05 13:57 ` [PATCH v2 5/5] arm64: dts: qcom: sm6125-seine: Configure additional trinket thermistors Marijn Suijten

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).