Skip to content

Commit 3dc3525

Browse files
Fabio Estevammmind
authored andcommitted
ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
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]+$' Signed-off-by: Fabio Estevam <festevam@nabladev.com> Link: https://patch.msgid.link/20260311135604.21634-1-festevam@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 729675e commit 3dc3525

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,25 +125,25 @@
125125
compatible = "nxp,pca9533";
126126
reg = <0x62>;
127127

128-
led1 {
128+
led-1 {
129129
label = "red:user1";
130130
linux,default-trigger = "none";
131131
type = <PCA9532_TYPE_LED>;
132132
};
133133

134-
led2 {
134+
led-2 {
135135
label = "green:user2";
136136
linux,default-trigger = "none";
137137
type = <PCA9532_TYPE_LED>;
138138
};
139139

140-
led3 {
140+
led-3 {
141141
label = "blue:user3";
142142
linux,default-trigger = "none";
143143
type = <PCA9532_TYPE_LED>;
144144
};
145145

146-
led4 {
146+
led-4 {
147147
label = "red:user4";
148148
linux,default-trigger = "none";
149149
type = <PCA9532_TYPE_LED>;

0 commit comments

Comments
 (0)