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

Commit 136eecc7 authored by Tanya Finkel's avatar Tanya Finkel
Browse files

ARM: dts: msm: Fix SBC8096 LEDs for SBC8096 platform



Enable all 6 LEDs (4 user LEDs + bluetooth LED + wifi LED). Those LEDs
features appear as requirement of the SBC8096 platform.

Change-Id: I3b64e245dd8fd14dec95b3af917e2f8ec336d1ab
Signed-off-by: default avatarShimrit Malichi <smalichi@codeaurora.org>
Signed-off-by: default avatarTanya Finkel <tfinkel@codeaurora.org>
parent 0c3a23a4
Loading
Loading
Loading
Loading
+24 −9
Original line number Diff line number Diff line
@@ -496,6 +496,8 @@
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,master-en = <1>;		/* Enable GPIO */
		status = "okay";
		qcom,src-sel = <0>;		/* Constant */
		qcom,invert = <0>;
	};
};

@@ -613,20 +615,31 @@
	};
};

&spmi_bus {
	qcom,pmi8994@0 {
		compatible = "qcom,leds-qpnp";
&green_led {
	linux,name = "UserLED0";
};

&blue_led {
	linux,name = "UserLED1";
};

&red_led {
	linux,name = "UserLED2";
};

&spmi_bus {
	qcom,pmi8994@2 {
		qcom,leds@a100 { /* user3 LED */
			compatible = "qcom,leds-qpnp";
			reg = <0xa100 0x100>;
			status = "okay";
			qcom,led_pmi_mpp_2 {
				label = "mpp";
				linux,name = "user3";
				linux,name = "UserLED3";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode-ctrl = <0x60>;
				qcom,mode = "manual";
				linux,default-trigger =
					"none";
@@ -638,15 +651,16 @@
		compatible = "qcom,leds-qpnp";

		qcom,leds@a100 { /* wifi LED */
			compatible = "qcom,leds-qpnp";
			reg = <0xa100 0x100>;
			status = "okay";
			qcom,led_mpp_2 {
				label = "mpp";
				linux,name = "wifi";
				linux,name = "WiFi_LED";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode-ctrl = <0x60>;
				qcom,mode = "manual";
				linux,default-trigger =
					"wifi-indication-led";
@@ -654,15 +668,16 @@
		};

		qcom,leds@a300 { /* BT LED */
		    compatible = "qcom,leds-qpnp";
			reg = <0xa300 0x100>;
			status = "okay";
			qcom,led_mpp_4 {
				label = "mpp";
				linux,name = "bt";
				linux,name = "BT_LED";
				qcom,max-current = <40>;
				qcom,id = <6>;
				qcom,source-sel = <1>;
				qcom,mode-ctrl = <0x10>;
				qcom,mode-ctrl = <0x60>;
				qcom,mode = "manual";
				linux,default-trigger =
					"bt-indication-led";