diff mbox series

[-next] ARM: dts: k3-j7200-common-proc-board-u-boot.dtsi: Fix dtc warnings

Message ID 20210614084239.17833-1-vigneshr@ti.com
State Accepted
Commit 95eca8612b7ba790dfe5d72ce3269ef3a7cdae84
Delegated to: Tom Rini
Headers show
Series [-next] ARM: dts: k3-j7200-common-proc-board-u-boot.dtsi: Fix dtc warnings | expand

Commit Message

Raghavendra, Vignesh June 14, 2021, 8:42 a.m. UTC
Fix following dtc warning by explicitly setting up #size-cells
and #address-cells when overriding node in -u-boot.dtsi

arch/arm/dts/k3-j7200-common-proc-board.dtb: Warning (reg_format):
/bus@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has
invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Lokesh Vutla June 21, 2021, 12:12 p.m. UTC | #1
+Tom

On 14/06/21 2:12 pm, Vignesh Raghavendra wrote:
> Fix following dtc warning by explicitly setting up #size-cells
> and #address-cells when overriding node in -u-boot.dtsi
> 
> arch/arm/dts/k3-j7200-common-proc-board.dtb: Warning (reg_format):
> /bus@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has
> invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

Tom,
	If you don't mind, can you pull the patch to next directly? This fixed the DT
warning on j7200 builds.

Thanks and regards,
Lokesh

> ---
>  arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> index 41ce9fcb59..786cc48050 100644
> --- a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> @@ -43,6 +43,8 @@
>  
>  	mcu-navss{
>  		u-boot,dm-spl;
> +		#address-cells = <2>;
> +		#size-cells = <2>;
>  
>  		ringacc@2b800000 {
>  			reg =	<0x0 0x2b800000 0x0 0x400000>,
>
Tom Rini June 21, 2021, 5:18 p.m. UTC | #2
On Mon, Jun 21, 2021 at 05:42:15PM +0530, Lokesh Vutla wrote:
> +Tom
> 
> On 14/06/21 2:12 pm, Vignesh Raghavendra wrote:
> > Fix following dtc warning by explicitly setting up #size-cells
> > and #address-cells when overriding node in -u-boot.dtsi
> > 
> > arch/arm/dts/k3-j7200-common-proc-board.dtb: Warning (reg_format):
> > /bus@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has
> > invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)
> > 
> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> 
> Tom,
> 	If you don't mind, can you pull the patch to next directly? This fixed the DT
> warning on j7200 builds.

OK, will do.
Tom Rini June 24, 2021, 1:15 p.m. UTC | #3
On Mon, Jun 14, 2021 at 02:12:39PM +0530, Vignesh Raghavendra wrote:

> Fix following dtc warning by explicitly setting up #size-cells
> and #address-cells when overriding node in -u-boot.dtsi
> 
> arch/arm/dts/k3-j7200-common-proc-board.dtb: Warning (reg_format):
> /bus@100000/bus@28380000/mcu-navss/ringacc@2b800000:reg: property has
> invalid length (80 bytes) (#address-cells == 2, #size-cells == 1)
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
index 41ce9fcb59..786cc48050 100644
--- a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
@@ -43,6 +43,8 @@ 
 
 	mcu-navss{
 		u-boot,dm-spl;
+		#address-cells = <2>;
+		#size-cells = <2>;
 
 		ringacc@2b800000 {
 			reg =	<0x0 0x2b800000 0x0 0x400000>,