ARM: dts: msm: add hl7509 regulator device to msm8996

Halo hl7509 buck converter will be powering the VDD_GFX voltage
rail of 8996 automotive platforms. HL7509 requires an enable gpio
to turn on the external buck. Support it through a fixed
regulator.

Add them to the list of regulators for msm8996. Keep them
disabled by default so that they can be enabled in board specific
files.

CRs-Fixed: 978343
Change-Id: Ib8006e640206a92ac6f227a4a180efbe7d15026f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2015-12-07 17:40:49 -08:00 committed by David Keitel
parent a15e630662
commit cacf3e7d2c

View file

@ -1446,6 +1446,14 @@
enable-active-high;
gpio = <&pm8994_gpios 9 0>;
};
hl7509_en_vreg: hl7509_en_vreg {
compatible = "regulator-fixed";
regulator-name = "hl7509_en_vreg";
gpio = <&pm8994_mpps 6 0>;
enable-active-high;
status = "disabled";
};
};
&pmi8994_charger {
@ -1459,3 +1467,17 @@
};
};
/* Halo HL7509 external buck that powers VDD_GFX supply on 8996AU boards */
&i2c_7 {
hl7509_vreg: hl7509-regulator@68 {
compatible = "halo,hl7509";
reg = <0x68>;
vin-supply = <&hl7509_en_vreg>;
fcs,disable-suspend;
fcs,suspend-voltage-selector = <1>;
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1230000>;
regulator-ramp-delay = <500>;
status = "disabled";
};
};