diff options
| author | Konrad Dybcio <konradybcio@kernel.org> | 2024-03-16 13:10:46 +0100 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2024-04-03 13:49:49 -0500 |
| commit | 7c2a774f028f6e2acc40bf969fcac288d3143c7f (patch) | |
| tree | 74649d088725287ef4ac3b32bd59730deae617a0 | |
| parent | 83ef6a5afc1d5e2270797a164972a3de3bd2ea52 (diff) | |
| download | linux-7c2a774f028f6e2acc40bf969fcac288d3143c7f.tar.gz linux-7c2a774f028f6e2acc40bf969fcac288d3143c7f.zip | |
arm64: dts: qcom: msm8998-yoshino: Enable RGB led
Add the multicolor description and enable the PMI8998 LPG to expose the
RGB notification LED.
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
Link: https://lore.kernel.org/r/20240316-topic-maple_led-v1-1-ca3430fd9dc5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
| -rw-r--r-- | arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi index fdd3953938d9..d8cc0d729e99 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi @@ -418,6 +418,35 @@ }; }; +&pmi8998_lpg { + qcom,power-source = <1>; + + 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>; + }; + }; +}; + &qusb2phy { status = "okay"; |
