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

Commit 15d07efb authored by Himanshu Aggarwal's avatar Himanshu Aggarwal
Browse files

ARM: dts: msm: add node for home-row-led



Add device tree node for mpp connected home row led
for msmferrum CDP and MTP platform.

Change-Id: Ia6f07e888ef3f58fd9fcf56888c87d89ead05b40
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent 169417fe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -187,6 +187,12 @@
				interrupts = <0x0 0x61 0x1>;
			};
		};

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

	qcom,pmferrum@1 {
+18 −0
Original line number Diff line number Diff line
@@ -23,6 +23,24 @@
};

&spmi_bus {
	qcom,pmferrum@0 {
		qcom,leds@a300 {
			status = "okay";
			qcom,led_mpp_4 {
				label = "mpp";
				linux,name = "button-backlight";
				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>;
			};
		};
	};

	qcom,pmferrum@1 {
		qcom,vibrator@c000 {
			status = "okay";
+18 −0
Original line number Diff line number Diff line
@@ -23,6 +23,24 @@
};

&spmi_bus {
	qcom,pmferrum@0 {
		qcom,leds@a300 {
			status = "okay";
			qcom,led_mpp_4 {
				label = "mpp";
				linux,name = "button-backlight";
				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>;
			};
		};
	};

	qcom,pmferrum@1 {
		qcom,vibrator@c000 {
			status = "okay";