public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
@ 2026-03-11 13:56 Fabio Estevam
  2026-03-12 20:00 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2026-03-11 13:56 UTC (permalink / raw)
  To: heiko
  Cc: robh, krzk+dt, conor+dt, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel, Fabio Estevam

From: Fabio Estevam <festevam@nabladev.com>

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>
---
 arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
index d411fd9811fd..46362e804daf 100644
--- a/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
+++ b/arch/arm/boot/dts/rockchip/rk3288-phycore-rdk.dts
@@ -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>;
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk
  2026-03-11 13:56 [PATCH] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk Fabio Estevam
@ 2026-03-12 20:00 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2026-03-12 20:00 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Heiko Stuebner, robh, krzk+dt, conor+dt, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel, Fabio Estevam


On Wed, 11 Mar 2026 10:56:04 -0300, Fabio Estevam wrote:
> 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,
-- 
Heiko Stuebner <heiko@sntech.de>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-12 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 13:56 [PATCH] ARM: dts: rockchip: Fix LED node names on rk3288-phycore-rdk Fabio Estevam
2026-03-12 20:00 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox