aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDang Huynh <[email protected]>2024-07-31 13:18:50 +0700
committerBjorn Andersson <[email protected]>2024-07-31 21:42:00 -0500
commitb5c63330a7ef026c21da5eed4669a790b22ea642 (patch)
tree515882be2cb0ecc9dd371d691a1b38188e002d32
parent79f8d127c46a1311de49db7c175fee84ce827d3a (diff)
arm64: dts: qcom: sm6115-pro1x: Enable RGB LED
This device has an RGB LED. It is used for notifications. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Dang Huynh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r--arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index d045969a9b78..9713e8d0380e 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -211,6 +211,33 @@
};
};
+&pmi632_lpg {
+ status = "okay";
+
+ multi-led {
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@1 {
+ reg = <1>;
+ color = <LED_COLOR_ID_RED>;
+ };
+
+ led@2 {
+ reg = <2>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@3 {
+ reg = <3>;
+ color = <LED_COLOR_ID_BLUE>;
+ };
+ };
+};
+
&pmi632_typec {
status = "okay";