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

Commit e91fc0f8 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add PWM1 and GPIO6 configuration for QCS610



QCS610 uses the PWM routed via PM6150L GPIO6 for IRLED.
Add configuration for it.

Change-Id: Id0cb0438e27f80f0e8f8675308466fcf8d729db9
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 2537e5e5
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -143,6 +143,15 @@
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		#size-cells = <1>;


		pm6150l_pwm_1: qcom,pwms@bc00 {
			status = "disabled";
			compatible = "qcom,pwm-lpg";
			reg = <0xbc00 0x100>;
			reg-names = "lpg-base";
			qcom,num-lpg-channels = <1>;
			#pwm-cells = <2>;
		};

		pm6150l_lcdb: qcom,lcdb@ec00 {
		pm6150l_lcdb: qcom,lcdb@ec00 {
			compatible = "qcom,qpnp-lcdb-regulator";
			compatible = "qcom,qpnp-lcdb-regulator";
			#address-cells = <1>;
			#address-cells = <1>;
+15 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,17 @@
			power-source = <0>;
			power-source = <0>;
		};
		};
	};
	};

	irled {
		irled_pwm: irled_pwm_default {
			pins = "gpio6";
			function = "func1";
			qcom,drive-strength = <2>;
			power-source = <0>;
			bias-disable;
			output-low;
		};
	};
};
};


&soc {
&soc {
@@ -72,6 +83,10 @@
	status = "ok";
	status = "ok";
};
};


&pm6150l_pwm_1 {
	status = "okay";
};

&pm6150_qg {
&pm6150_qg {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,qg-iterm-ma = <100>;
	qcom,qg-iterm-ma = <100>;
+15 −0
Original line number Original line Diff line number Diff line
@@ -38,6 +38,17 @@
			power-source = <0>;
			power-source = <0>;
		};
		};
	};
	};

	irled {
		irled_pwm: irled_pwm_default {
			pins = "gpio6";
			function = "func1";
			qcom,drive-strength = <2>;
			power-source = <0>;
			bias-disable;
			output-low;
		};
	};
};
};


&soc {
&soc {
@@ -76,6 +87,10 @@
	status = "ok";
	status = "ok";
};
};


&pm6150l_pwm_1 {
	status = "okay";
};

&pm6150_qg {
&pm6150_qg {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,battery-data = <&mtp_batterydata>;
	qcom,qg-iterm-ma = <100>;
	qcom,qg-iterm-ma = <100>;