]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
authorFabio Estevam <festevam@nabladev.com>
Wed, 11 Mar 2026 13:56:04 +0000 (10:56 -0300)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 23 Mar 2026 21:17:26 +0000 (22:17 +0100)
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>
arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts

index d411fd9811fd402a0efe51c3b01777c8703dd0cd..46362e804dafccae85eab7868d499cf9b0a1be75 100644 (file)
                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>;