Commit 3cfe94d6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220616005333.18491-24-krzysztof.kozlowski@linaro.org
parent 9d8840f6
...@@ -140,7 +140,7 @@ button-camera-focus { ...@@ -140,7 +140,7 @@ button-camera-focus {
keyboard-leds { keyboard-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
backlight { led-0 {
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_KBD_BACKLIGHT; function = LED_FUNCTION_KBD_BACKLIGHT;
...@@ -149,7 +149,7 @@ backlight { ...@@ -149,7 +149,7 @@ backlight {
retain-state-suspended; retain-state-suspended;
}; };
caps-lock { led-1 {
color = <LED_COLOR_ID_YELLOW>; color = <LED_COLOR_ID_YELLOW>;
default-state = "off"; default-state = "off";
function = LED_FUNCTION_CAPSLOCK; function = LED_FUNCTION_CAPSLOCK;
......
...@@ -60,21 +60,21 @@ key-vol-up { ...@@ -60,21 +60,21 @@ key-vol-up {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
user4 { led-0 {
label = "green:user4"; label = "green:user4";
gpios = <&pm8998_gpio 13 GPIO_ACTIVE_HIGH>; gpios = <&pm8998_gpio 13 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "panic-indicator"; linux,default-trigger = "panic-indicator";
default-state = "off"; default-state = "off";
}; };
wlan { led-1 {
label = "yellow:wlan"; label = "yellow:wlan";
gpios = <&pm8998_gpio 9 GPIO_ACTIVE_HIGH>; gpios = <&pm8998_gpio 9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tx"; linux,default-trigger = "phy0tx";
default-state = "off"; default-state = "off";
}; };
bt { led-2 {
label = "blue:bt"; label = "blue:bt";
gpios = <&pm8998_gpio 5 GPIO_ACTIVE_HIGH>; gpios = <&pm8998_gpio 5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "bluetooth-power"; linux,default-trigger = "bluetooth-power";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment