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

Commit 300bd83e authored by Mao Li's avatar Mao Li Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add node for green led for DTP8937 sku2



Add device tree node for green led connected to MPP2
which is on pmi8937 for DTP8937 sku2 platform.

Change-Id: I62fb00885da45dd090162675f8ce9369f3ebb0ec
Signed-off-by: default avatarMao Li <maol@codeaurora.org>
parent c8f8b65a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -341,6 +341,12 @@
							"data-rcvry-sug";
			};
		};

		qcom,leds@a100 {
			compatible = "qcom,leds-qpnp";
			reg = <0xa100 0x100>;
			label = "mpp";
		};
	};

	qcom,pmi8937@3 {
+20 −0
Original line number Diff line number Diff line
@@ -13,3 +13,23 @@

#include "msm-pmi8937.dtsi"
#include "msm8937-qrd.dtsi"

&spmi_bus {
	qcom,pmi8937@2 {
		qcom,leds@a100 {
			status = "okay";
			qcom,led_mpp_2 {
				label = "mpp";
				linux,name = "green";
				linux,default-trigger = "none";
				qcom,default-state = "off";
				qcom,max-current = <40>;
				qcom,current-setting = <5>;
				qcom,id = <6>;
				qcom,mode = "manual";
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x60>;
			};
		};
	};
};