diff options
| author | Amir Dahan <system64fumo@tuta.io> | 2026-04-01 06:15:13 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-04-01 17:41:48 +0300 |
| commit | b49722c8a18cdd11f49357f3b8be23549f76a506 (patch) | |
| tree | 11d6a49bd13dc2dc888fe31030e93f31170ce011 | |
| parent | 995c258982429db93db103fc26fcb3a0acd6a5ee (diff) | |
| download | linux-b49722c8a18cdd11f49357f3b8be23549f76a506.tar.xz | |
arm64: dts: qcom: sdm845-lg-common: Add LEDs
Add the multicolor status LED in the phone's notch.
Signed-off-by: Amir Dahan <system64fumo@tuta.io>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Link: https://lore.kernel.org/r/20260331-judyln-dts-v7-8-87217b15fefb@postmarketos.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
| -rw-r--r-- | arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi index 27221b3afb30..51cd930488a9 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -6,6 +6,7 @@ */ #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> #include <dt-bindings/regulator/qcom,rpmh-regulator.h> @@ -497,6 +498,33 @@ status = "okay"; }; +&pmi8998_lpg { + status = "okay"; + + multi-led { + color = <LED_COLOR_ID_RGB>; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@3 { + reg = <3>; + color = <LED_COLOR_ID_BLUE>; + }; + + led@4 { + reg = <4>; + color = <LED_COLOR_ID_GREEN>; + }; + + led@5 { + reg = <5>; + color = <LED_COLOR_ID_RED>; + }; + }; +}; + &qupv3_id_0 { status = "okay"; }; |
