ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
Subsystems (2)
PATCH 1/1 ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
From: Fabio Estevam <[email protected]>
According to nxp,pca953x.yaml, the pattern for the led names should be:
"^led-[0-9a-z]+$".
Change it accordingly to fix the following dt-schema warning"
leddimmer@62 (nxp,pca9533): 'led1', 'led2', 'led3', 'led4' do not match any of the regexes: '^led-[0-9a-z]+$', '^pinctrl-[0-9]+$'
--- arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts +4 -4
@@ -125,25 +125,25 @@ leddim: leddimmer@62 { compatible = "nxp,pca9533"; reg = <0x62>; - led1 { + led-1 { label = "red:user1"; linux,default-trigger = "none"; type = <PCA9532_TYPE_LED>; }; - led2 { + led-2 { label = "green:user2"; linux,default-trigger = "none"; type = <PCA9532_TYPE_LED>; }; - led3 { + led-3 { label = "blue:user3"; linux,default-trigger = "none"; type = <PCA9532_TYPE_LED>; }; - led4 { + led-4 { label = "red:user4"; linux,default-trigger = "none"; type = <PCA9532_TYPE_LED>;
Signature · 1 line
2.43.0
Quoted 9 lines · Fabio Estevam
According to nxp,pca953x.yaml, the pattern for the led names should be:
"^led-[0-9a-z]+$".Change it accordingly to fix the following dt-schema warning"
leddimmer@62 (nxp,pca9533): 'led1', 'led2', 'led3', 'led4' do not match any of the regexes: '^led-[0-9a-z]+$', '^pinctrl-[0-9]+$'
[...]
Applied, thanks!
[1/1] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
commit: 8d11cbff066fd9ba866b20ff823eca15301095a6
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>