arm64: dts: qcom: align led node names with dtschema

The node names should be generic and DT schema expects certain pattern
with 'led'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220616005333.18491-24-krzysztof.kozlowski@linaro.org
This commit is contained in:
Krzysztof Kozlowski
2022-06-15 17:53:17 -07:00
committed by Bjorn Andersson
parent 9d8840f6ee
commit 3cfe94d660
2 changed files with 5 additions and 5 deletions

View File

@@ -140,7 +140,7 @@
keyboard-leds {
compatible = "gpio-leds";
backlight {
led-0 {
color = <LED_COLOR_ID_WHITE>;
default-state = "off";
function = LED_FUNCTION_KBD_BACKLIGHT;
@@ -149,7 +149,7 @@
retain-state-suspended;
};
caps-lock {
led-1 {
color = <LED_COLOR_ID_YELLOW>;
default-state = "off";
function = LED_FUNCTION_CAPSLOCK;

View File

@@ -60,21 +60,21 @@
leds {
compatible = "gpio-leds";
user4 {
led-0 {
label = "green:user4";
gpios = <&pm8998_gpio 13 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "panic-indicator";
default-state = "off";
};
wlan {
led-1 {
label = "yellow:wlan";
gpios = <&pm8998_gpio 9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tx";
default-state = "off";
};
bt {
led-2 {
label = "blue:bt";
gpios = <&pm8998_gpio 5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "bluetooth-power";