Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: sm8550-qrd: add notification RGB LED

The QRD features a notification LED connected to the pm8550.
Configure the RGB led controlled by the PMIC PWM controller.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230525-topic-sm8550-upstream-pm8550-lpg-dt-v4-2-a288f24af81b@linaro.org

authored by

Neil Armstrong and committed by
Bjorn Andersson
38181654 8889d13c

+27
+27
arch/arm64/boot/dts/qcom/sm8550-qrd.dts
··· 516 516 }; 517 517 }; 518 518 519 + &pm8550_pwm { 520 + status = "okay"; 521 + 522 + multi-led { 523 + color = <LED_COLOR_ID_RGB>; 524 + function = LED_FUNCTION_STATUS; 525 + 526 + #address-cells = <1>; 527 + #size-cells = <0>; 528 + 529 + led@1 { 530 + reg = <1>; 531 + color = <LED_COLOR_ID_RED>; 532 + }; 533 + 534 + led@2 { 535 + reg = <2>; 536 + color = <LED_COLOR_ID_GREEN>; 537 + }; 538 + 539 + led@3 { 540 + reg = <3>; 541 + color = <LED_COLOR_ID_BLUE>; 542 + }; 543 + }; 544 + }; 545 + 519 546 &pm8550b_eusb2_repeater { 520 547 vdd18-supply = <&vreg_l15b_1p8>; 521 548 vdd3-supply = <&vreg_l5b_3p1>;