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

Commit 8d07d508 authored by Umang Chheda's avatar Umang Chheda
Browse files

ARM: dts: msm: Add RG LED DT node for PM2250

Add RG LED node for PM2250. R&G LEDs are controlled by
pm2250_pwm0 and pm2250_pwm1 respectively.

Change-Id: I15418b76b9aa6651b230e4b2c3ace4035e9acdb1
parent 1c02ad16
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -208,6 +208,24 @@
			#pwm-cells = <2>;
		};

		pm2250_rg_leds: qcom,rg_leds {
			compatible = "pwm-leds";

			red {
				label = "red";
				pwms = <&pm2250_pwm1 0 1000000>;
				max-brightness = <255>;
				linux,default-trigger = "timer";
			};

			green {
				label = "green";
				pwms = <&pm2250_pwm2 0 1000000>;
				max-brightness = <255>;
				linux,default-trigger = "timer";
			};
		};

		pm2250_flash: qcom,flash_led@d300 {
			compatible = "qcom,pm2250-flash-led";
			reg = <0xd300>;
+4 −0
Original line number Diff line number Diff line
&soc {
};

&pm2250_rg_leds {
	status = "disabled";
};