Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: ipq8064: add specific dtsi with smb208 rpm regulators

Add specific ipq8064 dtsi with smb208 rpm regulators.

Qcom advise to use this configuration but it's not mandatory and OEM
can decide to implement their own regulators.
smb208 regulators are used to scale CPU voltage, L2 cache voltage and
Ubi32 cores.

There regulators are controlled by rpm and to correctly works gsbi4-i2c
require to be NEVER disabled or rpm will reject any regulator change
request.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Tested-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220707010943.20857-4-ansuelsmth@gmail.com

authored by

Christian Marangi and committed by
Bjorn Andersson
5c47a46d d883a12a

+37
+37
arch/arm/boot/dts/qcom-ipq8064-smb208.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include "qcom-ipq8064.dtsi" 4 + 5 + &rpm { 6 + smb208_regulators: regulators { 7 + compatible = "qcom,rpm-smb208-regulators"; 8 + 9 + smb208_s1a: s1a { 10 + regulator-min-microvolt = <1050000>; 11 + regulator-max-microvolt = <1150000>; 12 + 13 + qcom,switch-mode-frequency = <1200000>; 14 + }; 15 + 16 + smb208_s1b: s1b { 17 + regulator-min-microvolt = <1050000>; 18 + regulator-max-microvolt = <1150000>; 19 + 20 + qcom,switch-mode-frequency = <1200000>; 21 + }; 22 + 23 + smb208_s2a: s2a { 24 + regulator-min-microvolt = < 800000>; 25 + regulator-max-microvolt = <1250000>; 26 + 27 + qcom,switch-mode-frequency = <1200000>; 28 + }; 29 + 30 + smb208_s2b: s2b { 31 + regulator-min-microvolt = < 800000>; 32 + regulator-max-microvolt = <1250000>; 33 + 34 + qcom,switch-mode-frequency = <1200000>; 35 + }; 36 + }; 37 + };