public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings
Date: Wed, 10 Apr 2019 07:08:04 +0200	[thread overview]
Message-ID: <20190410070804.1d3ae86d@jawa> (raw)
In-Reply-To: <20190409152113.10678-1-marcel@ziswiler.com>

On Tue,  9 Apr 2019 17:21:13 +0200
Marcel Ziswiler <marcel@ziswiler.com> wrote:

> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> Re-synced the device tree with Linux 5.0.
> 
> This fixes the following warnings:
> 
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 2/endpoint at 0:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 2/endpoint at 1:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 2/endpoint at 2:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 2/endpoint at 3:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 2/endpoint at 4:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 3/endpoint at 1:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 3/endpoint at 2:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 3/endpoint at 3:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning
> (reg_format): /soc/ipu at 2800000/ port at 3/endpoint at 4:reg: property has
> invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 0: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 0: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 1: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 1: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 2: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 2: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 3: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 3: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 4: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 2/endpoint at 4: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 1: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 1: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 2: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 2: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 3: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 3: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 4: Relying on default #address-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_default_addr_size):
>  /soc/ipu at 2800000/port at 3/endpoint at 4: Relying on default #size-cells
>  value
> w+arch/arm/dts/imx6-apalis.dtb: Warning (avoid_unnecessary_addr_size):
>  Failed prerequisite 'avoid_default_addr_size'
> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> ---
> 
> Changes in v2:
> - Re-synced the device tree with Linux 5.0 as suggested by Fabio.
> 
>  arch/arm/dts/imx6q.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/dts/imx6q.dtsi b/arch/arm/dts/imx6q.dtsi
> index ab1716b6b0..d038f41170 100644
> --- a/arch/arm/dts/imx6q.dtsi
> +++ b/arch/arm/dts/imx6q.dtsi
> @@ -202,6 +202,7 @@
>  				 <&clks IMX6QDL_CLK_GPU2D_CORE>;
>  			clock-names = "bus", "core";
>  			power-domains = <&pd_pu>;
> +			#cooling-cells = <2>;
>  		};
>  
>  		ipu2: ipu at 2800000 {
> @@ -234,6 +235,8 @@
>  			};
>  
>  			ipu2_di0: port at 2 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				reg = <2>;
>  
>  				ipu2_di0_disp0: endpoint at 0 {
> @@ -262,6 +265,8 @@
>  			};
>  
>  			ipu2_di1: port at 3 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				reg = <3>;
>  
>  				ipu2_di1_hdmi: endpoint at 1 {

Reviewed-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190410/4675962a/attachment.sig>

      parent reply	other threads:[~2019-04-10  5:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-09 15:21 [U-Boot] [PATCH v2] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings Marcel Ziswiler
2019-04-09 15:23 ` Fabio Estevam
2019-04-10  5:08 ` Lukasz Majewski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190410070804.1d3ae86d@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox