Skip to contentSkip to conversation

ARM: dts: lpc32xx: add bus surfix for simple-bus

PATCH In review Frank Li 2 participants 15 messages Oct 29, 2025 – Nov 14, 2025

Subsystems (3)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/5 ARM: dts: lpc32xx: add bus surfix for simple-bus

add bus surfix for simple-bus to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
 arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +3 -3
index 2236901a00313..9790b0a1d6537 100644
@@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
 			#dma-cells = <2>;
 		};
 
-		usb {
+		usb-bus {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
@@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
 			};
 		};
 
-		fab {
+		fab-bus {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
 			ranges = <0x20000000 0x20000000 0x30000000>;
 
 			/* System Control Block */
-			scb {
+			scb-bus {
 				compatible = "simple-bus";
 				ranges = <0x0 0x40004000 0x00001000>;
 				#address-cells = <1>;
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH 2/5 ARM: dts: lpc32xx: add sspclk clock for SPI[0,1]

add sspclk clock for SPI[0,1] to fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: spi@2008c000 (arm,pl022): clock-names:0: 'sspclk' was expected

---
 arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +4 -4
index 9790b0a1d6537..77f210a2152dc 100644
@@ -179,8 +179,8 @@ ssp0: spi@20084000 {
 				compatible = "arm,pl022", "arm,primecell";
 				reg = <0x20084000 0x1000>;
 				interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clk LPC32XX_CLK_SSP0>;
-				clock-names = "apb_pclk";
+				clocks =<&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>;
+				clock-names = "sspclk", "apb_pclk";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				status = "disabled";
@@ -203,8 +203,8 @@ ssp1: spi@2008c000 {
 				compatible = "arm,pl022", "arm,primecell";
 				reg = <0x2008c000 0x1000>;
 				interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clk LPC32XX_CLK_SSP1>;
-				clock-names = "apb_pclk";
+				clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>;
+				clock-names = "sspclk", "apb_pclk";
 				#address-cells = <1>;
 				#size-cells = <0>;
 				status = "disabled";
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH 2/5] ARM: dts: lpc32xx: add sspclk clock for SPI[0,1]

Hi Frank.

Quoted 24 lines · Frank Li

add sspclk clock for SPI[0,1] to fix below CHECK_DTB warning:

   arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: spi@2008c000 (arm,pl022): clock-names:0: 'sspclk' was expected
---
  arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +2 -2
index 9790b0a1d6537..77f210a2152dc 100644
@@ -179,8 +179,8 @@ ssp0: spi@20084000 {
  				compatible = "arm,pl022", "arm,primecell";
  				reg = <0x20084000 0x1000>;
  				interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clk LPC32XX_CLK_SSP0>;
-				clock-names = "apb_pclk";
+				clocks =<&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>;
+				clock-names = "sspclk", "apb_pclk";
  				#address-cells = <1>;
  				#size-cells = <0>;
  				status = "disabled";

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi ssp1: spi@2008c000 { · line 210

Quoted 10 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +2 -2
@@ -203,8 +203,8 @@ ssp1: spi@2008c000 {
  				compatible = "arm,pl022", "arm,primecell";
  				reg = <0x2008c000 0x1000>;
  				interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&clk LPC32XX_CLK_SSP1>;
-				clock-names = "apb_pclk";
+				clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>;
+				clock-names = "sspclk", "apb_pclk";
  				#address-cells = <1>;
  				#size-cells = <0>;
  				status = "disabled";

This one I won't apply now, since there is another much earlier sent and discussed change:

https://lore.kernel.org/all/[email protected]/

The thing is formally it's a DT ABI change. I'm pro to apply the change, but let me say I need to get a bit more of courage to resend it and to push it through as an incredibly unlikely but still potentially harmful change to some unknown user.

Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#3 lore raw

PATCH 3/5 ARM: dts: lpc3250-ea3250: add key- prefix for gpio-keys

In reply to Frank Li

Add key- prefix to fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: gpio-keys (gpio-keys): 'joy0', ... do not match any of the regexes: '^(button|...)$', 'pinctrl-[0-9]+

---
 arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts +9 -9
index 63c6f17bb7c9f..837a3cfa8e7c8 100644
@@ -27,55 +27,55 @@ button {
 			gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
 		};
 
-		key1 {
+		key-1 {
 			label = "KEY1";
 			linux,code = <1>;
 			gpios = <&pca9532 0 0>;
 		};
 
-		key2 {
+		key-2 {
 			label = "KEY2";
 			linux,code = <2>;
 			gpios = <&pca9532 1 0>;
 		};
 
-		key3 {
+		key-3 {
 			label = "KEY3";
 			linux,code = <3>;
 			gpios = <&pca9532 2 0>;
 		};
 
-		key4 {
+		key-4 {
 			label = "KEY4";
 			linux,code = <4>;
 			gpios = <&pca9532 3 0>;
 		};
 
-		joy0 {
+		key-joy0 {
 			label = "Joystick Key 0";
 			linux,code = <10>;
 			gpios = <&gpio 2 0 0>; /* P2.0 */
 		};
 
-		joy1 {
+		key-joy1 {
 			label = "Joystick Key 1";
 			linux,code = <11>;
 			gpios = <&gpio 2 1 0>; /* P2.1 */
 		};
 
-		joy2 {
+		key-joy2 {
 			label = "Joystick Key 2";
 			linux,code = <12>;
 			gpios = <&gpio 2 2 0>; /* P2.2 */
 		};
 
-		joy3 {
+		key-joy3 {
 			label = "Joystick Key 3";
 			linux,code = <13>;
 			gpios = <&gpio 2 3 0>; /* P2.3 */
 		};
 
-		joy4 {
+		key-joy4 {
 			label = "Joystick Key 4";
 			linux,code = <14>;
 			gpios = <&gpio 2 4 0>; /* P2.4 */
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 3/5
#4 lore raw

Re: [PATCH 3/5] ARM: dts: lpc3250-ea3250: add key- prefix for gpio-keys

Hi Frank.

Quoted 67 lines · Frank Li

Add key- prefix to fix below CHECK_DTB warning:

   arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: gpio-keys (gpio-keys): 'joy0', ... do not match any of the regexes: '^(button|...)$', 'pinctrl-[0-9]+
---
  arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts | 18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts +8 -8
index 63c6f17bb7c9f..837a3cfa8e7c8 100644
@@ -27,55 +27,55 @@ button {
  			gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
  		};
 
-		key1 {
+		key-1 {
  			label = "KEY1";
  			linux,code = <1>;
  			gpios = <&pca9532 0 0>;
  		};
 
-		key2 {
+		key-2 {
  			label = "KEY2";
  			linux,code = <2>;
  			gpios = <&pca9532 1 0>;
  		};
 
-		key3 {
+		key-3 {
  			label = "KEY3";
  			linux,code = <3>;
  			gpios = <&pca9532 2 0>;
  		};
 
-		key4 {
+		key-4 {
  			label = "KEY4";
  			linux,code = <4>;
  			gpios = <&pca9532 3 0>;
  		};
 
-		joy0 {
+		key-joy0 {
  			label = "Joystick Key 0";
  			linux,code = <10>;
  			gpios = <&gpio 2 0 0>; /* P2.0 */
  		};
 
-		joy1 {
+		key-joy1 {
  			label = "Joystick Key 1";
  			linux,code = <11>;
  			gpios = <&gpio 2 1 0>; /* P2.1 */
  		};
 
-		joy2 {
+		key-joy2 {
  			label = "Joystick Key 2";
  			linux,code = <12>;
  			gpios = <&gpio 2 2 0>; /* P2.2 */
  		};
 
-		joy3 {
+		key-joy3 {

arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts button { · line 81

Quoted 10 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dts +1 -1
  			label = "Joystick Key 3";
  			linux,code = <13>;
  			gpios = <&gpio 2 3 0>; /* P2.3 */
  		};
 
-		joy4 {
+		key-joy4 {
  			label = "Joystick Key 4";
  			linux,code = <14>;
  			gpios = <&gpio 2 4 0>; /* P2.4 */

Thank you for the contributions, I hope I'll find time tomorrow to send a tiny pull request:
* lpc43xx board compatible strings,
* this change,
* any other your changes with my review comments satisfied, if I get them.

Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#5 lore raw

PATCH 4/5 ARM: dts: lpc3250-phy3250: add at25 required properties

In reply to Frank Li

Add at25 required properties (size, address-width and pagesize), which duplicate deprecated properties.

Change nodename 'at25' to 'eeprom'.

Fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): 'pagesize' is a required property arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): $nodename: 'anyOf' conditional failed, one must be fixed:

---
 arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +5 -1
index 21a6d0bca1e8a..15463a96938cc 100644
@@ -200,7 +200,7 @@ &ssp0 {
 	cs-gpios = <&gpio 3 5 0>;
 	status = "okay";
 
-	eeprom: at25@0 {
+	eeprom: eeprom@0 {
 		compatible = "atmel,at25";
 		reg = <0>;
 		spi-max-frequency = <5000000>;
@@ -216,6 +216,10 @@ eeprom: at25@0 {
 		at25,byte-len = <0x8000>;
 		at25,addr-mode = <2>;
 		at25,page-size = <64>;
+
+		size = <0x8000>;
+		address-width = <16>;
+		pagesize = <64>;
 	};
 };
 
Signature · 1 line
2.34.1
#6 lore raw

Re: [PATCH 4/5] ARM: dts: lpc3250-phy3250: add at25 required properties

Hi Frank.

Quoted 28 lines · Frank Li

Add at25 required properties (size, address-width and pagesize), which duplicate deprecated properties.

Change nodename 'at25' to 'eeprom'.

Fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): 'pagesize' is a required property arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): $nodename: 'anyOf' conditional failed, one must be fixed:

---
  arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +1 -1
index 21a6d0bca1e8a..15463a96938cc 100644
@@ -200,7 +200,7 @@ &ssp0 {
  	cs-gpios = <&gpio 3 5 0>;
  	status = "okay";
 
-	eeprom: at25@0 {
+	eeprom: eeprom@0 {
  		compatible = "atmel,at25";
  		reg = <0>;
  		spi-max-frequency = <5000000>;

arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts eeprom: at25@0 { · line 222

Quoted 7 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +4 -0
@@ -216,6 +216,10 @@ eeprom: at25@0 {
  		at25,byte-len = <0x8000>;
  		at25,addr-mode = <2>;
  		at25,page-size = <64>;
+
+		size = <0x8000>;
+		address-width = <16>;
+		pagesize = <64>;

Is there any need to have both sets of properties?

I'd suggest to remove the deprecated set in a separate patch, note that your done change is not described in the commit message.

Quoted 3 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +0 -0
  	};
  };
 
Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#7 lore raw

Re: [PATCH 4/5] ARM: dts: lpc3250-phy3250: add at25 required properties

Quoted 31 lines · Vladimir Zapolskiy

Hi Frank.

Quoted 28 lines · Frank Li

Add at25 required properties (size, address-width and pagesize), which duplicate deprecated properties.

Change nodename 'at25' to 'eeprom'.

Fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): 'pagesize' is a required property arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): $nodename: 'anyOf' conditional failed, one must be fixed:

---
  arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +1 -1
index 21a6d0bca1e8a..15463a96938cc 100644
@@ -200,7 +200,7 @@ &ssp0 {
  	cs-gpios = <&gpio 3 5 0>;
  	status = "okay";
-	eeprom: at25@0 {
+	eeprom: eeprom@0 {
  		compatible = "atmel,at25";
  		reg = <0>;
  		spi-max-frequency = <5000000>;
@@ -216,6 +216,10 @@ eeprom: at25@0 {
  		at25,byte-len = <0x8000>;
Quoted 9 lines

arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts eeprom: at25@0 { · line 222

Quoted 6 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +4 -0
  		at25,addr-mode = <2>;
  		at25,page-size = <64>;
+
+		size = <0x8000>;
+		address-width = <16>;
+		pagesize = <64>;

Is there any need to have both sets of properties?

Generally, keep old one just for back compatible. It is quite common for this case.

I am NOT sure if it is safe enough to remove deprecated properties now.

Quoted 2 lines

I'd suggest to remove the deprecated set in a separate patch, note that your done change is not described in the commit message.

Which part is not described?

Frank

Quoted 7 lines

arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts eeprom: at25@0 { · line 224

Quoted 3 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +0 -0
  	};
  };

--
Best wishes,
Vladimir

#8 lore raw

Re: [PATCH 4/5] ARM: dts: lpc3250-phy3250: add at25 required properties

Hi Frank.

Quoted 42 lines · Frank Li
Quoted 31 lines · Vladimir Zapolskiy

Hi Frank.

Quoted 28 lines · Frank Li

Add at25 required properties (size, address-width and pagesize), which duplicate deprecated properties.

Change nodename 'at25' to 'eeprom'.

Fix below CHECK_DTB warning:

    arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): 'pagesize' is a required property
    arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: at25@0 (atmel,at25): $nodename: 'anyOf' conditional failed, one must be fixed:
---
   arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts | 6 +++++-
   1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +1 -1
index 21a6d0bca1e8a..15463a96938cc 100644
@@ -200,7 +200,7 @@ &ssp0 {
   	cs-gpios = <&gpio 3 5 0>;
   	status = "okay";
-	eeprom: at25@0 {
+	eeprom: eeprom@0 {
   		compatible = "atmel,at25";
   		reg = <0>;
   		spi-max-frequency = <5000000>;
@@ -216,6 +216,10 @@ eeprom: at25@0 {
   		at25,byte-len = <0x8000>;
Quoted 9 lines

arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts eeprom: at25@0 { · line 222

Quoted 6 lines
arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dts +4 -0
   		at25,addr-mode = <2>;
   		at25,page-size = <64>;
+
+		size = <0x8000>;
+		address-width = <16>;
+		pagesize = <64>;

Is there any need to have both sets of properties?

Quoted 5 lines

Generally, keep old one just for back compatible. It is quite common for this case.

I am NOT sure if it is safe enough to remove deprecated properties now.

It should be safe to remove the deprecated properties, it is fine.

This way the backward compatibility is preserved, and while the forward compatibility is not preserved, it is not supposed to be preserved anyway.

Quoted 5 lines
Quoted 2 lines

I'd suggest to remove the deprecated set in a separate patch, note that your done change is not described in the commit message.

Which part is not described?

Sorry for it, I reread the commit message, and both changes are mentined, but please split heterogeneous changes into separate patches.

Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#9 lore raw

PATCH 5/5 ARM: dts: lpc32xx: update #address-cells of arm,pl175 to 2

In reply to Frank Li

Change #address-cells of arm,pl175 to 2 to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: memory-controller@31080000 (arm,pl175): #address-cells: 2 was expected
from schema $id: http://devicetree.org/schemas/memory-controllers/arm,pl172.yaml#

---
 arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
index 77f210a2152dc..0249a1838ee0d 100644
@@ -155,7 +155,7 @@ emc: memory-controller@31080000 {
 			reg = <0x31080000 0x1000>;
 			clocks = <&clk LPC32XX_CLK_DDRAM>, <&clk LPC32XX_CLK_DDRAM>;
 			clock-names = "mpmcclk", "apb_pclk";
-			#address-cells = <1>;
+			#address-cells = <2>;
 			#size-cells = <1>;
 
 			ranges = <0 0xe0000000 0x01000000>,
Signature · 1 line
2.34.1
#10 lore raw

Re: [PATCH 5/5] ARM: dts: lpc32xx: update #address-cells of arm,pl175 to 2

Hi Frank.

Quoted 14 lines · Frank Li

Change #address-cells of arm,pl175 to 2 to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: memory-controller@31080000 (arm,pl175): #address-cells: 2 was expected
from schema $id: http://devicetree.org/schemas/memory-controllers/arm,pl172.yaml#

---
  arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +0 -0
index 77f210a2152dc..0249a1838ee0d 100644

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi emc: memory-controller@31080000 { · line 161

Quoted 8 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
@@ -155,7 +155,7 @@ emc: memory-controller@31080000 {
  			reg = <0x31080000 0x1000>;
  			clocks = <&clk LPC32XX_CLK_DDRAM>, <&clk LPC32XX_CLK_DDRAM>;
  			clock-names = "mpmcclk", "apb_pclk";
-			#address-cells = <1>;
+			#address-cells = <2>;
  			#size-cells = <1>;
 
  			ranges = <0 0xe0000000 0x01000000>,

Recently you've made a conversion to YAML for arm,pl17x memory controllers and now this warning is reported - and by the way I believe and it's opposite to the commit message, the warning is not reported in the upstream, because lpc3250-ea3250.dts does not enable the controller.

I wonder and let me ask you, why two address cells are needed here?

My default preference is to get one address cell for NOR flash ICs, and I'd suggest to make a change to the dt binding of the controller.

Signature · 2 lines
Best wishes,
Vladimir
#11 lore raw
In reply to Frank Li

Hi Frank.

Quoted 1 line · Frank Li

add bus surfix for simple-bus to fix below CHECK_DTBS warnings:

typo in the subject and in the commit message above, s/surfix/suffix/

Quoted 13 lines

arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
  arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +0 -0
index 2236901a00313..9790b0a1d6537 100644

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi dma: dma-controller@31000000 { · line 89

Quoted 5 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
@@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
  			#dma-cells = <2>;
  		};
 
-		usb {
+		usb-bus {

Device nodes under "usb" should be just elevated, the "simple-bus" here was used only to group some controllers together.

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 310

Quoted 9 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
  			#address-cells = <1>;
  			#size-cells = <1>;
  			compatible = "simple-bus";
@@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
  			};
  		};
 
-		fab {
+		fab-bus {

FAB shall find its place in the AXI/AHB/APB/... list, isn't it?

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 320

Quoted 11 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
  			#address-cells = <1>;
  			#size-cells = <1>;
  			compatible = "simple-bus";
  			ranges = <0x20000000 0x20000000 0x30000000>;
 
  			/* System Control Block */
-			scb {
+			scb-bus {
  				compatible = "simple-bus";
  				ranges = <0x0 0x40004000 0x00001000>;
  				#address-cells = <1>;

Here "simple-bus" is also unjustified...

Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#12 lore raw
Quoted 28 lines · Vladimir Zapolskiy

Hi Frank.

Quoted 1 line · Frank Li

add bus surfix for simple-bus to fix below CHECK_DTBS warnings:

typo in the subject and in the commit message above, s/surfix/suffix/

Quoted 13 lines

arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
  arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +0 -0
index 2236901a00313..9790b0a1d6537 100644

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi dma: dma-controller@31000000 { · line 88

Quoted 4 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
@@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
  			#dma-cells = <2>;
  		};
-		usb {
+		usb-bus {

Device nodes under "usb" should be just elevated, the "simple-bus" here was used only to group some controllers together.

Quoted 10 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 309

Quoted 8 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
  			#address-cells = <1>;
  			#size-cells = <1>;
  			compatible = "simple-bus";
@@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
  			};
  		};
-		fab {
+		fab-bus {

FAB shall find its place in the AXI/AHB/APB/... list, isn't it?

what's FAB means? It is too short and hard to find exact information from google?

Frank

Quoted 17 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 320

Quoted 11 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
  			#address-cells = <1>;
  			#size-cells = <1>;
  			compatible = "simple-bus";
  			ranges = <0x20000000 0x20000000 0x30000000>;
  			/* System Control Block */
-			scb {
+			scb-bus {
  				compatible = "simple-bus";
  				ranges = <0x0 0x40004000 0x00001000>;
  				#address-cells = <1>;

Here "simple-bus" is also unjustified...

--
Best wishes,
Vladimir

#13 lore raw
Quoted 40 lines · Frank Li
Quoted 28 lines · Vladimir Zapolskiy

Hi Frank.

Quoted 1 line · Frank Li

add bus surfix for simple-bus to fix below CHECK_DTBS warnings:

typo in the subject and in the commit message above, s/surfix/suffix/

Quoted 13 lines

arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
   arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
   1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +0 -0
index 2236901a00313..9790b0a1d6537 100644

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi dma: dma-controller@31000000 { · line 88

Quoted 4 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
@@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
   			#dma-cells = <2>;
   		};
-		usb {
+		usb-bus {

Device nodes under "usb" should be just elevated, the "simple-bus" here was used only to group some controllers together.

Quoted 10 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 309

Quoted 8 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
   			#address-cells = <1>;
   			#size-cells = <1>;
   			compatible = "simple-bus";
@@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
   			};
   		};
-		fab {
+		fab-bus {

FAB shall find its place in the AXI/AHB/APB/... list, isn't it?

Quoted 2 lines

what's FAB means? It is too short and hard to find exact information from google?

You may find UM10326 "LPC32x0 and LPC32x0/01 User manual" document online, LPC32xx is an old and simple SoC.

FAB stands for Fast Access Bus, it's a bus behind AHB to FAB bridge, you may get an overview from "Fig 3. LPC32x0 block diagram, AHB matrix view", and "Table 4. Peripheral devices on the LPC32x0" lists all FAB peripherals.

So, FAB is very similar to APB functionally, could it be just another name of APB?.. Likely we won't know for sure.

I'd suggest to send a change, which adds "fab" to the list of permitted device tree node names with a "simple-bus" compatible. Or let me know, and I'll do it myself whenever I find a minute for it...

Quoted 12 lines
Quoted 12 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 320

Quoted 10 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
   			#address-cells = <1>;
   			#size-cells = <1>;
   			compatible = "simple-bus";
   			ranges = <0x20000000 0x20000000 0x30000000>;
   			/* System Control Block */
-			scb {
+			scb-bus {
   				compatible = "simple-bus";
   				ranges = <0x0 0x40004000 0x00001000>;
   				#address-cells = <1>;

Here "simple-bus" is also unjustified...

Signature · 2 lines
Best wishes,
Vladimir
author maintainer
#14 lore raw
Quoted 51 lines · Vladimir Zapolskiy
Quoted 40 lines · Frank Li
Quoted 28 lines · Vladimir Zapolskiy

Hi Frank.

Quoted 1 line · Frank Li

add bus surfix for simple-bus to fix below CHECK_DTBS warnings:

typo in the subject and in the commit message above, s/surfix/suffix/

Quoted 13 lines

arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: usb (simple-bus): $nodename:0: 'usb' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
   arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 6 +++---
   1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +0 -0
index 2236901a00313..9790b0a1d6537 100644

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi dma: dma-controller@31000000 { · line 88

Quoted 4 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
@@ -86,7 +86,7 @@ dma: dma-controller@31000000 {
   			#dma-cells = <2>;
   		};
-		usb {
+		usb-bus {

Device nodes under "usb" should be just elevated, the "simple-bus" here was used only to group some controllers together.

Quoted 10 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 309

Quoted 8 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
   			#address-cells = <1>;
   			#size-cells = <1>;
   			compatible = "simple-bus";
@@ -307,14 +307,14 @@ mpwm: pwm@400e8000 {
   			};
   		};
-		fab {
+		fab-bus {

FAB shall find its place in the AXI/AHB/APB/... list, isn't it?

Quoted 2 lines

what's FAB means? It is too short and hard to find exact information from google?

You may find UM10326 "LPC32x0 and LPC32x0/01 User manual" document online, LPC32xx is an old and simple SoC.

FAB stands for Fast Access Bus, it's a bus behind AHB to FAB bridge, you may get an overview from "Fig 3. LPC32x0 block diagram, AHB matrix view", and "Table 4. Peripheral devices on the LPC32x0" lists all FAB peripherals.

Quoted 6 lines

So, FAB is very similar to APB functionally, could it be just another name of APB?.. Likely we won't know for sure.

I'd suggest to send a change, which adds "fab" to the list of permitted device tree node names with a "simple-bus" compatible. Or let me know, and I'll do it myself whenever I find a minute for it...

If only use by NXP, I think it is not easy to add it. There are too much similar vendor specific bus name in other Soc.

It is local in https://github.com/devicetree-org/dt-schema.git
dt-schema/dtschema/schemas

    pattern: '^([a-z][a-z0-9\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'

Most likely Rob prefer use prefix.

Anyway, you can try if you want.

Frank

Quoted 18 lines
Quoted 13 lines
Quoted 13 lines

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi mpwm: pwm@400e8000 { · line 320

Quoted 11 lines
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi +1 -1
   			#address-cells = <1>;
   			#size-cells = <1>;
   			compatible = "simple-bus";
   			ranges = <0x20000000 0x20000000 0x30000000>;
   			/* System Control Block */
-			scb {
+			scb-bus {
   				compatible = "simple-bus";
   				ranges = <0x0 0x40004000 0x00001000>;
   				#address-cells = <1>;

Here "simple-bus" is also unjustified...

--
Best wishes,
Vladimir