Skip to content

arm64: dts: qcom: msm8916: Rework regulator constraints

Stephan Gerhold linux-arm-msm linux-devicetree lkml phone-devel 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20230510-msm8916-regulators-97fa33735efe

Versions newest first

  1. v1 Latest8 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8arm64: dts: qcom: apq8016-sbc: Fix regulator constraintsarch/arm64/boot/dts/qcom/apq8016-sbc.dts+32 -320 replies
2/8arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansionarch/arm64/boot/dts/qcom/apq8016-sbc.dts+12 -40 replies
3/8arm64: dts: qcom: msm8916: Fix regulator constraintsarch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts +10 more+89 -894 replies
4/8arm64: dts: qcom: msm8916: Disable audio codecs by defaultarch/arm64/boot/dts/qcom/apq8016-sbc.dts arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts arch/arm64/boot/dts/qcom/msm8916.dtsi +1 more+12 -00 replies
5/8arm64: dts: qcom: pm8916: Move default regulator "-supply"sarch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi arch/arm64/boot/dts/qcom/pm8916.dtsi+6 -30 replies
6/8arm64: dts: qcom: msm8916-pm8916: Clarify purposearch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi+8 -00 replies
7/8arm64: dts: qcom: msm8916: Define regulator constraints next to usagearch/arm64/boot/dts/qcom/apq8016-sbc.dts arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts +12 more+210 -14784 replies
8/8arm64: dts: qcom: msm8916-pm8916: Mark always-on regulatorsarch/arm64/boot/dts/qcom/apq8016-sbc.dts arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi+5 -55 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchBryan O'Donoghue
1/8
2/8
3/8R-b R-b
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] arm64: dts: qcom: msm8916: Rework regulator constraints

Rework the regulator constraints for the MSM8916 device trees to be closer to reality. There are several mistakes in there, some of them taken over directly from Qualcomm's vendor kernel. Fortunately, none of the mistakes is absolutely critical because it turns out that the RPM firmware also validates the voltages and silently clamps the requests to a proper range. Still, this behavior should be clearly represented in the device tree rather than pretending to apply the wrong voltages.

To make the regulator constraints more easily maintainable with a large number of similar MSM8916 boards I propose moving the voltages for the standard components in the SoC to the shared msm8916-pm8916.dtsi include. With this only the actual board-specific regulators are described in the board DT.

---
Stephan Gerhold (8):
arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
arm64: dts: qcom: msm8916: Fix regulator constraints
arm64: dts: qcom: msm8916: Disable audio codecs by default
arm64: dts: qcom: pm8916: Move default regulator "-supply"s
arm64: dts: qcom: msm8916-pm8916: Clarify purpose
arm64: dts: qcom: msm8916: Define regulator constraints next to usage
arm64: dts: qcom: msm8916-pm8916: Mark always-on regulators

 arch/arm64/boot/dts/qcom/apq8016-sbc.dts           | 145 +++++----------------
 arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts   | 115 ++--------------
 .../boot/dts/qcom/msm8916-alcatel-idol347.dts      | 110 +---------------
 arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts     | 110 +---------------
 arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts | 110 +---------------
 arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts     | 125 ++++--------------
 .../boot/dts/qcom/msm8916-longcheer-l8150.dts      | 110 +---------------
 .../boot/dts/qcom/msm8916-longcheer-l8910.dts      | 110 +---------------
 arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi       | 121 ++++++++++++++---
 .../dts/qcom/msm8916-samsung-a2015-common.dtsi     | 110 +---------------
 .../boot/dts/qcom/msm8916-samsung-gt5-common.dtsi  | 110 +---------------
 .../boot/dts/qcom/msm8916-samsung-j5-common.dtsi   | 103 ---------------
 .../boot/dts/qcom/msm8916-samsung-serranove.dts    | 103 ---------------
 arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi          | 103 ---------------
 .../boot/dts/qcom/msm8916-wingtech-wt88047.dts     | 119 +++--------------
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |   1 +
 arch/arm64/boot/dts/qcom/pm8916.dtsi               |   4 +-
 17 files changed, 236 insertions(+), 1473 deletions(-)

---
base-commit: 4272e06e19f388ccfe1f04f19060ea84d2a19a8b
change-id: 20230510-msm8916-regulators-97fa33735efe

Best regards,

Signature · 1 line
Stephan Gerhold <[email protected]>