Re: [PATCH] arm64: dts: qcom: hamoa-iot-evk: enable pwm rgb leds

From: Tingguo Cheng

Date: Tue Oct 21 2025 - 02:31:02 EST



On 10/17/2025 4:09 PM, Konrad Dybcio wrote:
On 10/17/25 10:06 AM, Tingguo Cheng wrote:
Add red, green and blue LED channels for the RGB device connected to
PMC8380C PWM-LED pins.

Signed-off-by: Tingguo Cheng<tingguo.cheng@xxxxxxxxxxxxxxxx>
---
Just to make sure, is this a "multicolor LED" consisting of 3 ones,
and *not* three LEDs that are supposed to communicate different
functions (i.e. network, power, disk i/o)?
Yes, it's a multicolor LED composed of three individual LEDs within a single package—not three separate LEDs for different functions like network, power, or disk I/O.
However, there's one exception worth mentioning:
The blue channel is connected to two sourcing signals—the EDL indicator and the PMIC PWM-RGB blue LED—via two resistors. These resistors allow selection between the two sources.
By default, the board is configured with the resistor soldered to connect the blue LED to the EDL indicator.
To support software control, I’ve added the blue channel in the DTS, enabling the capability to light the blue LED from the software side.
Some developers may choose to re-solder the resistor to connect the blue LED to the PMIC PWM-RGB output instead, depending on their hardware setup.
Konrad