Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42a74a1f authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

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: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 676c9bc2
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, 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
@@ -1445,6 +1445,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 {
@@ -1458,3 +1466,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";
	};
};