Skip to contentSkip to conversation

ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk

PATCH Applied Fabio Estevam 2 participants 2 messages Mar 11 – Mar 12

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index d411fd9811fd..46362e804daf 100644
@@ -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
maintainer Applied
#1 lore raw
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]>