From 8a7aa1f37be1f5cf47e04704f253a010eb3a45df Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 28 Mar 2016 18:23:04 -0700 Subject: [PATCH] ARM: dts: msm: replace PM8005 S1 stub regulator device on msmcobalt Replace the PM8005 S1 stub regulator device with a qpnp-regulator device. This ensures that consumers physically affect the state of S1. Change-Id: I55723cb5a1d49672f243d6911889caa59ec0ee9f CRs-Fixed: 986619 Signed-off-by: David Collins --- .../boot/dts/qcom/msmcobalt-regulator.dtsi | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi index 06955de93e08..7893b06a45f1 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-regulator.dtsi @@ -514,6 +514,19 @@ }; }; +&spmi_bus { + qcom,pm8005@5 { + /* PM8005 S1 + S4 = 2 phase VDD_GFX supply */ + pm8005_s1: regulator@1400 { + regulator-name = "pm8005_s1"; + status = "okay"; + regulator-min-microvolt = <524000>; + regulator-max-microvolt = <1032000>; + qcom,enable-time = <500>; + }; + }; +}; + /* Stub regulators */ / { @@ -539,15 +552,6 @@ regulator-max-microvolt = <952000>; }; - /* PM8005 S1 + S4 = 2 phase VDD_GFX supply */ - pm8005_s1: regulator-pm8005-s1 { - compatible = "qcom,stub-regulator"; - regulator-name = "pm8005_s1"; - qcom,hpm-min-load = <100000>; - regulator-min-microvolt = <352000>; - regulator-max-microvolt = <952000>; - }; - /* PM8005 S2 = VDD_MODEM supply */ pm8005_s2: regulator-pm8005-s2 { compatible = "qcom,stub-regulator";