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

Commit 77a404c6 authored by Chunmei Cai's avatar Chunmei Cai
Browse files

ARM: dts: msm: Add led blinking support for dtp8996



The RGB leds which are connected on PMI device is able to support blinking
by configuring the PWM channel. The property 'qcom,use-blink' will add
blink sysfs to allow the userspace code to control the blinking behavior.

CRs-Fixed: 936764
Change-Id: Ieab34a932be17eff17f360cad94b7bed989b7701
Signed-off-by: default avatarChunmei Cai <ccai@codeaurora.org>
parent 61a16a5e
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -624,14 +624,41 @@

&red_led {
	/delete-property/ linux,default-trigger;
	qcom,start-idx = <1>;
	qcom,idx-len = <10>;
	qcom,duty-pcts = [00 19 32 4B 64
			64 4B 32 19 00];
	qcom,lut-flags = <3>;
	qcom,pause-lo = <0>;
	qcom,pause-hi = <0>;
	qcom,ramp-step-ms = <255>;
	qcom,use-blink;
};

&green_led {
	/delete-property/ linux,default-trigger;
	qcom,start-idx = <1>;
	qcom,idx-len = <10>;
	qcom,duty-pcts = [00 19 32 4B 64
			64 4B 32 19 00];
	qcom,lut-flags = <3>;
	qcom,pause-lo = <0>;
	qcom,pause-hi = <0>;
	qcom,ramp-step-ms = <255>;
	qcom,use-blink;
};

&blue_led {
	/delete-property/ linux,default-trigger;
	qcom,start-idx = <1>;
	qcom,idx-len = <10>;
	qcom,duty-pcts = [00 19 32 4B 64
			64 4B 32 19 00];
	qcom,lut-flags = <3>;
	qcom,pause-lo = <0>;
	qcom,pause-hi = <0>;
	qcom,ramp-step-ms = <255>;
	qcom,use-blink;
};

&pmi8994_wled {