summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2017-05-03 15:27:41 +0530
committerKiran Gunda <kgunda@codeaurora.org>2017-05-05 13:02:01 +0530
commit96ea755a183898364824323d0f6ea76fe0d77058 (patch)
tree4156a4db1c58fc3cfb7fcef6324a8e4f9dbbb611 /arch
parent8f48ec6a5abca8351e6511c51bc6bb1e247bbdab (diff)
ARM: dts: msm: Add OnSemi regulator node for msm8996
OnSemi buck regulator is used to provide the supply for graphics rail. The programmable output voltage range is from 0.6 V to 1.4 V in 6.25 mV steps. Change-Id: I5f4ec11075b7f658ffa0af13dde5694b03c1495c Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/msm8996-regulator.dtsi19
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi b/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
index c70003a0a6dd..b86542a174da 100644
--- a/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2016, 2017 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -1950,4 +1950,21 @@
regulator-ramp-delay = <500>;
status = "disabled";
};
+
+ ncp6335d_vreg: ncp6335d-regulator@68 {
+ compatible = "onnn,ncp6335d-regulator";
+ reg = <0x68>;
+ vin-supply = <&hl7509_en_vreg>;
+ onnn,vsel = <0>;
+ onnn,slew-ns = <2666>;
+ onnn,step-size = <6250>;
+ onnn,min-slew-ns = <333>;
+ onnn,max-slew-ns = <2666>;
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1143750>;
+ onnn,min-setpoint = <600000>;
+ onnn,discharge-enable;
+ onnn,restore-reg;
+ status = "disabled";
+ };
};