diff options
| author | Tingguo Cheng <tingguo.cheng@oss.qualcomm.com> | 2025-11-14 11:13:03 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-01-03 22:21:59 +0300 |
| commit | e50c63e89236beb249507f986c3458b2b670cfd6 (patch) | |
| tree | 7c448c78b4050c6df4a208a367c08812f4b16051 | |
| parent | 3ad80ba51eb931c7fcba0bec5b1c9ca5f6d99cea (diff) | |
| download | linux-e50c63e89236beb249507f986c3458b2b670cfd6.tar.xz | |
arm64: dts: qcom: hamoa-iot-evk: enable PWM RG LEDs
Add RED and GREEN LED channels for the RGB device connected to PMC8380C
PWM-LED pins. Omit BLUE channel to match default hardware setup where
it's tied to EDL indicator.
Signed-off-by: Tingguo Cheng <tingguo.cheng@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251114-add-rgb-led-for-hamoa-iot-evk-v3-1-5df1fcd68374@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
| -rw-r--r-- | arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts index bac531421292..aa0e0857e993 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include <dt-bindings/leds/common.h> #include "hamoa-iot-som.dtsi" #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> @@ -959,6 +960,28 @@ }; }; +&pm8550_pwm { + status = "okay"; + + multi-led { + color = <LED_COLOR_ID_MULTI>; + 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>; + }; + }; +}; + &pmc8380_5_gpios { usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { pins = "gpio8"; |
