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

Commit 60d385b2 authored by Kavya Nunna's avatar Kavya Nunna
Browse files

ARM: dts: msm: Add PM8008 regulator for scuba

Add PM8008 regulator support for scuba target.

Change-Id: I4de414016eca453b94498fde45060b86d5bf8b85
parent e8111380
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -481,5 +481,31 @@
			};
		};

		pm8008_interrupt: pm8008_interrupt {
			mux {
				pins = "gpio25";
				function = "gpio";
			};

			config {
				pins = "gpio25";
				bias-disable;
				input-enable;
			};
		};

		pm8008_active: pm8008_active {
			mux {
				pins = "gpio26";
				function = "gpio";
			};

			config {
				pins = "gpio26";
				bias-pull-up;
				output-high;
				drive-strength = <2>;
			};
		};
	};
};
+4 −0
Original line number Diff line number Diff line
@@ -105,3 +105,7 @@
	#clock-cells = <1>;
	#reset-cells = <1>;
};

&qupv3_se1_i2c {
	status = "disabled";
};
+53 −0
Original line number Diff line number Diff line
@@ -1269,6 +1269,59 @@
#include "scuba-usb.dtsi"
#include "msm-arm-smmu-scuba.dtsi"

&qupv3_se1_i2c {
	status = "ok";
	#include "pm8008.dtsi"
};

&pm8008_8 {
	/* PM8008 IRQ STAT */
	interrupt-parent = <&tlmm>;
	interrupts = <25 IRQ_TYPE_EDGE_RISING>;

	pinctrl-names = "default";
	pinctrl-0 = <&pm8008_active &pm8008_interrupt>;
};

&pm8008_regulators {
	vdd_l1_l2-supply = <&S3A>;
};

&L1P {
	regulator-max-microvolt = <1260000>;
	qcom,min-dropout-voltage = <75000>;
};

&L2P {
	regulator-max-microvolt = <1150000>;
	qcom,min-dropout-voltage = <187500>;
};

&L3P {
	regulator-min-microvolt = <2700000>;
	regulator-max-microvolt = <2900000>;
};

&L4P {
	regulator-min-microvolt = <2700000>;
	regulator-max-microvolt = <2900000>;
};

&L5P {
	regulator-min-microvolt = <2700000>;
	regulator-max-microvolt = <2900000>;
};

&L6P {
	regulator-min-microvolt = <2700000>;
	regulator-max-microvolt = <2900000>;
};

&L7P {
	regulator-min-microvolt = <1650000>;
	regulator-max-microvolt = <1900000>;
};

&pm2250_vadc {
	#address-cells = <1>;
	#size-cells = <0>;