Commit 360d9526 authored by Bhupesh Sharma's avatar Bhupesh Sharma Committed by Bjorn Andersson

arm64: dts: qcom: qrb5165-rb5: Fix 'dtbs_check' error for led nodes

make dtbs_check currently reports the following errors
with qrb5165-rb5 led nodes:

arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb:
 leds: 'bt', 'user4', 'wlan' do not match any of the regexes:
  '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Fix the same.

Also while at it, fix a blank line issue in the led
node.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220719205058.1004942-3-bhupesh.sharma@linaro.org
parent 1282fa32
...@@ -58,7 +58,7 @@ hdmi_con: endpoint { ...@@ -58,7 +58,7 @@ hdmi_con: endpoint {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
user4 { led-user4 {
label = "green:user4"; label = "green:user4";
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_GREEN>;
...@@ -67,7 +67,7 @@ user4 { ...@@ -67,7 +67,7 @@ user4 {
default-state = "off"; default-state = "off";
}; };
wlan { led-wlan {
label = "yellow:wlan"; label = "yellow:wlan";
function = LED_FUNCTION_WLAN; function = LED_FUNCTION_WLAN;
color = <LED_COLOR_ID_YELLOW>; color = <LED_COLOR_ID_YELLOW>;
...@@ -76,7 +76,7 @@ wlan { ...@@ -76,7 +76,7 @@ wlan {
default-state = "off"; default-state = "off";
}; };
bt { led-bt {
label = "blue:bt"; label = "blue:bt";
function = LED_FUNCTION_BLUETOOTH; function = LED_FUNCTION_BLUETOOTH;
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_BLUE>;
...@@ -84,7 +84,6 @@ bt { ...@@ -84,7 +84,6 @@ bt {
linux,default-trigger = "bluetooth-power"; linux,default-trigger = "bluetooth-power";
default-state = "off"; default-state = "off";
}; };
}; };
lt9611_1v2: lt9611-vdd12-regulator { lt9611_1v2: lt9611-vdd12-regulator {
......
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