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

Commit b83debfa authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: add HL7503 buck for qcs405"

parents 2832ff30 9fddb487
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -47,3 +47,33 @@
			< 1401600 MHZ_TO_MBPS( 710, 8) >;
	};
};

&pms405_s3 {
	status = "disabled";
};

&pms405_gpios {
	hl7503_vsel {
		hl7503_vsel_default: hl7503_vsel_default {
			pins = "gpio6";
			function = "normal";
		};
	};
};

&i2c_2 {
	status = "ok";
};

&hl7503_vreg {
	status = "ok";
	fcs,vsel-gpio = <&pms405_gpios 6 GPIO_ACTIVE_HIGH>;
	pinctrl-names = "default";
	pinctrl-0 = <&hl7503_vsel_default>;
};

&apc_vreg_corner {
	vdd-apc-supply = <&hl7503_vreg>;
	qcom,cpr-apc-volt-step = <6250>;
	qcom,cpr-voltage-ceiling = <1224000 1288000 1356250 1387500>;
};
+15 −0
Original line number Diff line number Diff line
@@ -366,3 +366,18 @@
		qcom,cpr-enable;
	};
};

&i2c_2 {
	/* I2C based external buck for APC */
	hl7503_vreg: hl7503-regulator@60 {
		status = "disabled";
		compatible = "halo,hl7503";
		reg = <0x60>;
		regulator-min-microvolt = <600000>;
		regulator-max-microvolt = <1387500>;
		regulator-ramp-delay = <500>;
		regulator-always-on;
		fcs,suspend-voltage-selector = <0>;
		fcs,disable-suspend;
	};
};