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

Commit becc3631 authored by Chun Zhang's avatar Chun Zhang
Browse files

ARM: dts: msm: Enable privacy LED on 8084 Liquid



8084 Liquid is equipped with privacy LED. Device tree information
is needed to properly enable it.

Change-Id: I3ae0e708d7fcc8acd69133f01e6511f56796685c
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent 98868eff
Loading
Loading
Loading
Loading
+25 −0
Original line number Original line Diff line number Diff line
@@ -616,3 +616,28 @@
			01 ff 19 02 00];
			01 ff 19 02 00];
	};
	};
};
};

&spmi_bus {
	qcom,pma8084@0 {
		qcom,leds@a300 {
			compatible = "qcom,leds-qpnp";
			reg = <0xa300 0x100>;
			label = "mpp";
			status = "okay";
			mpp-power-supply = <&pma8084_l17>;
			qcom,mpp-power-min-voltage = <2800000>;
			qcom,mpp-power-max-voltage = <2800000>;
			qcom,led_mpp_4 {
				label = "mpp";
				linux,name = "led:privacy";
				linux-default-trigger = "none";
				qcom,default-state = "off";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x60>;
				qcom,mode = "manual";
			};
		};
	};
};