mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: msm: Add RGB LED device for PM8550
Add TRI_LED device on PM8550 that is needed for Kalama platforms. Change-Id: I33737a58f5f61f6a4f2038934ac03f23003f41a5
This commit is contained in:
@@ -79,6 +79,33 @@
|
||||
qcom,num-lpg-channels = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm8550_rgb: qcom,leds@ef00 {
|
||||
compatible = "qcom,tri-led";
|
||||
reg = <0xef00>;
|
||||
status = "disabled";
|
||||
|
||||
red {
|
||||
label = "red";
|
||||
pwms = <&pm8550_pwm_1 0 1000000>;
|
||||
led-sources = <0>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
green {
|
||||
label = "green";
|
||||
pwms = <&pm8550_pwm_1 1 1000000>;
|
||||
led-sources = <1>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
blue {
|
||||
label = "blue";
|
||||
pwms = <&pm8550_pwm_1 2 1000000>;
|
||||
led-sources = <2>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user