linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the imx-mxs tree
@ 2018-05-13 23:21 Stephen Rothwell
  2018-05-14  0:56 ` Shawn Guo
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2018-05-13 23:21 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Fabio Estevam, Rob Herring

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hi Shawn,

After merging the imx-mxs tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (reg_format): /soc/ipu@2400000/port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (avoid_default_addr_size): /soc/ipu@2400000/port@2/endpoint@0: Relying on default #address-cells value

and about 7000 more lines across several files ...

It is hard tell what introduced these warnings ...

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the imx-mxs tree
  2018-05-13 23:21 linux-next: build warning after merge of the imx-mxs tree Stephen Rothwell
@ 2018-05-14  0:56 ` Shawn Guo
  2018-05-14 13:05   ` Rob Herring
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn Guo @ 2018-05-14  0:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Fabio Estevam, Rob Herring

Hi Stephen,

On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote:
> Hi Shawn,
> 
> After merging the imx-mxs tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
> 
> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (reg_format): /soc/ipu@2400000/port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (avoid_default_addr_size): /soc/ipu@2400000/port@2/endpoint@0: Relying on default #address-cells value
> 
> and about 7000 more lines across several files ...
> 
> It is hard tell what introduced these warnings ...

Commit e6bb17850d1e ("ARM: dts: imx: fix IPU OF graph endpoint node
names") introduced the warnings.  I will submit a patch to fix them.
Sorry for this.

Shawn

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

* Re: linux-next: build warning after merge of the imx-mxs tree
  2018-05-14  0:56 ` Shawn Guo
@ 2018-05-14 13:05   ` Rob Herring
  2018-05-14 13:42     ` Shawn Guo
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2018-05-14 13:05 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Stephen Rothwell, Linux-Next Mailing List,
	Linux Kernel Mailing List, Fabio Estevam

On Sun, May 13, 2018 at 7:56 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> Hi Stephen,
>
> On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote:
>> Hi Shawn,
>>
>> After merging the imx-mxs tree, today's linux-next build (arm
>> multi_v7_defconfig) produced this warning:
>>
>> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (reg_format): /soc/ipu@2400000/port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
>> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
>> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
>> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (avoid_default_addr_size): /soc/ipu@2400000/port@2/endpoint@0: Relying on default #address-cells value
>>
>> and about 7000 more lines across several files ...
>>
>> It is hard tell what introduced these warnings ...
>
> Commit e6bb17850d1e ("ARM: dts: imx: fix IPU OF graph endpoint node
> names") introduced the warnings.  I will submit a patch to fix them.
> Sorry for this.

Well, it was the combination of that and commit ed94e3c3ceb4 ("ARM:
dts: imx6: Remove #address/#size-cells from ipu nodes"). Commit
ed94e3c3ceb4q should be reverted.

Rob

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

* Re: linux-next: build warning after merge of the imx-mxs tree
  2018-05-14 13:05   ` Rob Herring
@ 2018-05-14 13:42     ` Shawn Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2018-05-14 13:42 UTC (permalink / raw)
  To: Rob Herring
  Cc: Stephen Rothwell, Linux-Next Mailing List,
	Linux Kernel Mailing List, Fabio Estevam

On Mon, May 14, 2018 at 08:05:29AM -0500, Rob Herring wrote:
> On Sun, May 13, 2018 at 7:56 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> > Hi Stephen,
> >
> > On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote:
> >> Hi Shawn,
> >>
> >> After merging the imx-mxs tree, today's linux-next build (arm
> >> multi_v7_defconfig) produced this warning:
> >>
> >> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (reg_format): /soc/ipu@2400000/port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> >> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> >> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
> >> arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (avoid_default_addr_size): /soc/ipu@2400000/port@2/endpoint@0: Relying on default #address-cells value
> >>
> >> and about 7000 more lines across several files ...
> >>
> >> It is hard tell what introduced these warnings ...
> >
> > Commit e6bb17850d1e ("ARM: dts: imx: fix IPU OF graph endpoint node
> > names") introduced the warnings.  I will submit a patch to fix them.
> > Sorry for this.
> 
> Well, it was the combination of that and commit ed94e3c3ceb4 ("ARM:
> dts: imx6: Remove #address/#size-cells from ipu nodes"). Commit
> ed94e3c3ceb4q should be reverted.

Ah, okay.  I will just drop that commit then.

Shawn

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

* Re: linux-next: build warning after merge of the imx-mxs tree
  2022-04-26  0:06 Stephen Rothwell
@ 2022-04-26  1:15 ` Shawn Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2022-04-26  1:15 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Alison Wang, Changming Huang, Linux Kernel Mailing List,
	Linux Next Mailing List

On Tue, Apr 26, 2022 at 10:06:59AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the imx-mxs tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
> 
> arch/arm/boot/dts/ls1021a-iot.dts:150.3-26: Warning (clocks_property): /soc/i2c@2180000/audio-codec@2a:clocks: cell 1 is not a phandle reference
> arch/arm/boot/dts/ls1021a-iot.dts:144.27-151.4: Warning (clocks_property): /soc/i2c@2180000/audio-codec@2a: Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from clocks[1])
> 
> Introduced by commit
> 
>   23f550d5f7f6 ("ARM: dts: Add initial LS1021A IoT board dts support")

Changming,

I fixed it up with the following change.  Let me know if you disagree.

diff --git a/arch/arm/boot/dts/ls1021a-iot.dts b/arch/arm/boot/dts/ls1021a-iot.dts
index bdb7186f3590..66bcdaf4b6f9 100644
--- a/arch/arm/boot/dts/ls1021a-iot.dts
+++ b/arch/arm/boot/dts/ls1021a-iot.dts
@@ -147,7 +147,7 @@ sgtl5000: audio-codec@2a {
                reg = <0x2a>;
                VDDA-supply = <&reg_3p3v>;
                VDDIO-supply = <&reg_2p5v>;
-               clocks = <&sys_mclk 1>;
+               clocks = <&sys_mclk>;
        };
 
        max1239: adc@35 {

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

* linux-next: build warning after merge of the imx-mxs tree
@ 2022-04-26  0:06 Stephen Rothwell
  2022-04-26  1:15 ` Shawn Guo
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2022-04-26  0:06 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Alison Wang, Changming Huang, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

Hi all,

After merging the imx-mxs tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

arch/arm/boot/dts/ls1021a-iot.dts:150.3-26: Warning (clocks_property): /soc/i2c@2180000/audio-codec@2a:clocks: cell 1 is not a phandle reference
arch/arm/boot/dts/ls1021a-iot.dts:144.27-151.4: Warning (clocks_property): /soc/i2c@2180000/audio-codec@2a: Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from clocks[1])

Introduced by commit

  23f550d5f7f6 ("ARM: dts: Add initial LS1021A IoT board dts support")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-04-26  1:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-13 23:21 linux-next: build warning after merge of the imx-mxs tree Stephen Rothwell
2018-05-14  0:56 ` Shawn Guo
2018-05-14 13:05   ` Rob Herring
2018-05-14 13:42     ` Shawn Guo
2022-04-26  0:06 Stephen Rothwell
2022-04-26  1:15 ` 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).