linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: s32g2: Pass unit name to soc node
@ 2022-05-14 14:35 Fabio Estevam
  2022-05-16  3:15 ` Chester Lin
  2022-06-11  8:55 ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2022-05-14 14:35 UTC (permalink / raw)
  To: shawnguo; +Cc: clin, linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Pass unit name to soc node to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
index 59ea8a25aa4c..824d401e7a2c 100644
--- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
@@ -79,7 +79,7 @@ psci {
 		};
 	};
 
-	soc {
+	soc@0 {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: s32g2: Pass unit name to soc node
  2022-05-14 14:35 [PATCH] arm64: s32g2: Pass unit name to soc node Fabio Estevam
@ 2022-05-16  3:15 ` Chester Lin
  2022-06-11  8:55 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Chester Lin @ 2022-05-16  3:15 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawnguo, linux-arm-kernel, Fabio Estevam

On Sat, May 14, 2022 at 11:35:05AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Pass unit name to soc node to fix the following W=1 build warning:
> 
> arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
> index 59ea8a25aa4c..824d401e7a2c 100644
> --- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
> +++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
> @@ -79,7 +79,7 @@ psci {
>  		};
>  	};
>  
> -	soc {
> +	soc@0 {
>  		compatible = "simple-bus";
>  		#address-cells = <1>;
>  		#size-cells = <1>;
> -- 
> 2.25.1
> 

Thanks!

Reviewed-by: Chester Lin <clin@suse.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: s32g2: Pass unit name to soc node
  2022-05-14 14:35 [PATCH] arm64: s32g2: Pass unit name to soc node Fabio Estevam
  2022-05-16  3:15 ` Chester Lin
@ 2022-06-11  8:55 ` Shawn Guo
  2022-06-14 10:05   ` Shawn Guo
  1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2022-06-11  8:55 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: clin, linux-arm-kernel, Fabio Estevam

On Sat, May 14, 2022 at 11:35:05AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Pass unit name to soc node to fix the following W=1 build warning:
> 
> arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: s32g2: Pass unit name to soc node
  2022-06-11  8:55 ` Shawn Guo
@ 2022-06-14 10:05   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2022-06-14 10:05 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: clin, linux-arm-kernel, Fabio Estevam

On Sat, Jun 11, 2022 at 4:55 PM Shawn Guo <shawnguo@kernel.org> wrote:
>
> On Sat, May 14, 2022 at 11:35:05AM -0300, Fabio Estevam wrote:
> > From: Fabio Estevam <festevam@denx.de>
> >
> > Pass unit name to soc node to fix the following W=1 build warning:
> >
> > arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
> >
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
>
> Applied, thanks!

I just got reminded that Chester already sent a PR to arm-soc folk
with fixes for 5.19, which includes this patch.  So I dropped it from
my tree.

Shawn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-06-14 10:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-14 14:35 [PATCH] arm64: s32g2: Pass unit name to soc node Fabio Estevam
2022-05-16  3:15 ` Chester Lin
2022-06-11  8:55 ` Shawn Guo
2022-06-14 10:05   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).