All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema
@ 2020-06-29  8:16 Krzysztof Kozlowski
  2020-07-06 18:58 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-06-29  8:16 UTC (permalink / raw)
  To: Dinh Nguyen, Rob Herring, devicetree, linux-kernel; +Cc: Krzysztof Kozlowski

Fix dtschema validator warnings like:
    intc@fffc1000: $nodename:0:
        'intc@fffc1000' does not match '^interrupt-controller(@[0-9a-f,]+)*$'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index d1fc9c2055f4..9498d1de730c 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -77,7 +77,7 @@
 		method = "smc";
 	};
 
-	intc: intc@fffc1000 {
+	intc: interrupt-controller@fffc1000 {
 		compatible = "arm,gic-400", "arm,cortex-a15-gic";
 		#interrupt-cells = <3>;
 		interrupt-controller;
@@ -302,7 +302,7 @@
 			status = "disabled";
 		};
 
-		nand: nand@ffb90000 {
+		nand: nand-controller@ffb90000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "altr,socfpga-denali-nand";
@@ -445,7 +445,7 @@
 			clock-names = "timer";
 		};
 
-		uart0: serial0@ffc02000 {
+		uart0: serial@ffc02000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0xffc02000 0x100>;
 			interrupts = <0 108 4>;
@@ -456,7 +456,7 @@
 			status = "disabled";
 		};
 
-		uart1: serial1@ffc02100 {
+		uart1: serial@ffc02100 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0xffc02100 0x100>;
 			interrupts = <0 109 4>;
-- 
2.17.1


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

* Re: [PATCH] arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema
  2020-06-29  8:16 [PATCH] arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema Krzysztof Kozlowski
@ 2020-07-06 18:58 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2020-07-06 18:58 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel



On 6/29/20 3:16 AM, Krzysztof Kozlowski wrote:
> Fix dtschema validator warnings like:
>     intc@fffc1000: $nodename:0:
>         'intc@fffc1000' does not match '^interrupt-controller(@[0-9a-f,]+)*$'
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index d1fc9c2055f4..9498d1de730c 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -77,7 +77,7 @@
>  		method = "smc";
>  	};
>  
> -	intc: intc@fffc1000 {
> +	intc: interrupt-controller@fffc1000 {
>  		compatible = "arm,gic-400", "arm,cortex-a15-gic";
>  		#interrupt-cells = <3>;
>  		interrupt-controller;
> @@ -302,7 +302,7 @@
>  			status = "disabled";
>  		};
>  
> -		nand: nand@ffb90000 {
> +		nand: nand-controller@ffb90000 {
>  			#address-cells = <1>;
>  			#size-cells = <0>;
>  			compatible = "altr,socfpga-denali-nand";
> @@ -445,7 +445,7 @@
>  			clock-names = "timer";
>  		};
>  
> -		uart0: serial0@ffc02000 {
> +		uart0: serial@ffc02000 {
>  			compatible = "snps,dw-apb-uart";
>  			reg = <0xffc02000 0x100>;
>  			interrupts = <0 108 4>;
> @@ -456,7 +456,7 @@
>  			status = "disabled";
>  		};
>  
> -		uart1: serial1@ffc02100 {
> +		uart1: serial@ffc02100 {
>  			compatible = "snps,dw-apb-uart";
>  			reg = <0xffc02100 0x100>;
>  			interrupts = <0 109 4>;
> 

Added the correct Fixes annotation and applied, thanks!
Dinh

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

end of thread, other threads:[~2020-07-06 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29  8:16 [PATCH] arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema Krzysztof Kozlowski
2020-07-06 18:58 ` Dinh Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.