From a57fad4b4041cc3bb1164db39c2e8e01c8368e30 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Mon, 21 Dec 2015 13:11:27 -0800 Subject: [PATCH] ARM: dts: msm: update configurations of gfx_cpr regulator for 8996AU CDP Halo HL7509 external buck converter powers VDD_GFX voltage rail on 8996 automotive CDP. Specify the necessary configuration for it. Disable closed-loop CPR operation for graphics CPR controller until it is verified with this external buck configuration. CRs-Fixed: 978343 Change-Id: I7d9bdce4c0b381942c6201f80b0970cad8d82ab5 Signed-off-by: Subbaraman Narayanamurthy --- arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi index f2ac1e1e2d71..0e2b9df5f5f9 100644 --- a/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi @@ -423,6 +423,15 @@ qcom,invert = <0>; status = "okay"; }; + + mpp@a500 { /* MPP 6 */ + qcom,mode = <1>; /* Digital output */ + qcom,output-type = <0>; /* CMOS logic */ + qcom,vin-sel = <2>; /* S4 1.8V */ + qcom,src-sel = <0>; /* Constant */ + qcom,master-en = <1>; /* Enable GPIO */ + status = "okay"; + }; }; &soc { @@ -868,3 +877,28 @@ &wsa881x_214 { /delete-property/ qcom,spkr-sd-n-gpio; }; + +&hl7509_en_vreg { + status = "ok"; +}; + +&hl7509_vreg { + status = "ok"; +}; + +&gfx_cpr { + vdd-supply = <&hl7509_vreg>; + qcom,cpr-step-quot-init-min = <20>; + qcom,cpr-step-quot-init-max = <26>; + qcom,voltage-step = <10000>; + /delete-property/ qcom,cpr-enable; +}; + +&gfx_vreg { + qcom,cpr-voltage-ceiling = + <600000 670000 670000 750000 830000 + 910000 960000 1020000>; + qcom,cpr-voltage-floor = + <600000 600000 600000 600000 600000 + 600000 600000 600000>; +};