Skip to contentSkip to conversation

linux-next: build warnings after merge of the gpio tree

DISCUSSION Stephen Rothwell 4 participants 10 messages Nov 3, 2017 – Dec 7, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Linus,

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

and many, many more.

I have no idea what caused this.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Linus,

Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

Yours,
Linus Walleij

#3 lore raw
Quoted 31 lines · Linus Walleij
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

Quoted 3 lines

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

There's a dtc update in -next which adds these new checks. It's been there for over a month now. Unlike other dtc checks, these are generally actual errors, so they are not off by default (enabled with W=1,2).

In reality, there's only about 50-100 warnings. The way dts includes are structured and because the dtc checks don't have the original source file lines, it just multiplies the warnings.

Rob

#4 lore raw

Hi all,

Quoted 33 lines · On Thu, 9 Nov 2017 08:37:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 31 lines · Linus Walleij
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

Quoted 3 lines
Quoted 3 lines

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

Probably just the first tree to cause a rebuild of the dtb files after the change below.

Quoted 8 lines

There's a dtc update in -next which adds these new checks. It's been there for over a month now. Unlike other dtc checks, these are generally actual errors, so they are not off by default (enabled with W=1,2).

In reality, there's only about 50-100 warnings. The way dts includes are structured and because the dtc checks don't have the original source file lines, it just multiplies the warnings.

So these (many) warnings are now in Linus' tree :-(

Please do something about them.

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw
Quoted 48 lines · Stephen Rothwell

Hi all,

Quoted 33 lines · On Thu, 9 Nov 2017 08:37:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 31 lines · Linus Walleij
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

Quoted 3 lines
Quoted 3 lines

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

Probably just the first tree to cause a rebuild of the dtb files after the change below.

Quoted 5 lines

There's a dtc update in -next which adds these new checks. It's been there for over a month now. Unlike other dtc checks, these are generally actual errors, so they are not off by default (enabled with W=1,2).

Quoted 7 lines
Quoted 3 lines

In reality, there's only about 50-100 warnings. The way dts includes are structured and because the dtc checks don't have the original source file lines, it just multiplies the warnings.

So these (many) warnings are now in Linus' tree :-(

Please do something about them.

Patches are in flight. I got all the low hanging fruit that are the most duplicated[1]. There's other patches in flight too.

Rob

[1] https://www.spinics.net/lists/arm-kernel/msg616518.html

#6 lore raw

Hi Rob,

Quoted 5 lines · On Wed, 15 Nov 2017 17:12:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 3 lines · Stephen Rothwell

So these (many) warnings are now in Linus' tree :-(

Quoted 8 lines
Quoted 1 line

Please do something about them.

Patches are in flight. I got all the low hanging fruit that are the most duplicated[1]. There's other patches in flight too.

Rob

[1] https://www.spinics.net/lists/arm-kernel/msg616518.html

Excellent, thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell
#7 lore raw
In reply to Rob Herring

Hi Rob,

Quoted 56 lines · On Wed, 15 Nov 2017 17:12:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 54 lines · Stephen Rothwell

Hi all,

Quoted 33 lines · On Thu, 9 Nov 2017 08:37:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 31 lines · Linus Walleij
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

Quoted 3 lines
Quoted 3 lines

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

Probably just the first tree to cause a rebuild of the dtb files after the change below.

Quoted 8 lines

There's a dtc update in -next which adds these new checks. It's been there for over a month now. Unlike other dtc checks, these are generally actual errors, so they are not off by default (enabled with W=1,2).

In reality, there's only about 50-100 warnings. The way dts includes are structured and because the dtc checks don't have the original source file lines, it just multiplies the warnings.

So these (many) warnings are now in Linus' tree :-(

Quoted 8 lines
Quoted 1 line

Please do something about them.

Patches are in flight. I got all the low hanging fruit that are the most duplicated[1]. There's other patches in flight too.

Rob

[1] https://www.spinics.net/lists/arm-kernel/msg616518.html

How are these going? I am still getting over 500 lines of output in my arm multi_v7_defconfig builds of Linus' tree :-(

Signature · 2 lines
Cheers,
Stephen Rothwell
#8 lore raw
Quoted 64 lines · Stephen Rothwell

Hi Rob,

Quoted 61 lines · On Wed, 15 Nov 2017 17:12:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 48 lines · Stephen Rothwell

Hi all,

Quoted 33 lines · On Thu, 9 Nov 2017 08:37:00 -0600 Rob Herring <[email protected]> wrote:
Quoted 31 lines · Linus Walleij
Quoted 16 lines · Stephen Rothwell
Quoted 15 lines · On Fri, 3 Nov 2017 16:37:24 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the gpio tree, yesterday's linux-next build (arm multi_v7_defconfig) produced these warnings:

arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-rev2.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-b-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2836-rpi-2-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2837-rpi-3-b.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/bcm2835-rpi-zero-w.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0]) arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (interrupts_property): Missing interrupt-controller or interrupt-map property in /soc/system-controller@10040000

Quoted 5 lines
Quoted 3 lines

and many, many more.

I have no idea what caused this.

I am still getting lots of these ...

I have absolutely no clue either.

What I know is that there is a device tree compiler warning that can be turned on, and
it generates these warnings a lot. The actual problems have been in the DTS files
forever. They just recently started to look into them.

Quoted 3 lines
Quoted 3 lines

It has nothing to do with the GPIO tree whatsoever, so I wonder if it is a side effect of
something else?

Probably just the first tree to cause a rebuild of the dtb files after the change below.

Quoted 5 lines

There's a dtc update in -next which adds these new checks. It's been there for over a month now. Unlike other dtc checks, these are generally actual errors, so they are not off by default (enabled with W=1,2).

Quoted 7 lines
Quoted 3 lines

In reality, there's only about 50-100 warnings. The way dts includes are structured and because the dtc checks don't have the original source file lines, it just multiplies the warnings.

So these (many) warnings are now in Linus' tree :-(

Please do something about them.

Patches are in flight. I got all the low hanging fruit that are the most duplicated[1]. There's other patches in flight too.

Quoted 6 lines
Quoted 3 lines

Rob

[1] https://www.spinics.net/lists/arm-kernel/msg616518.html

How are these going? I am still getting over 500 lines of output in my arm multi_v7_defconfig builds of Linus' tree :-(

Well, there's these five in -next that I guess haven't been sent to Linus yet:

912d7985f3ce ARM: dts: rockchip: fix rk3288 iep-IOMMU interrupts property cells 44e5dced2ef6 arm: dts: marvell: Add missing #phy-cells to usb-nop-xceiv d53418dfe997 ARM: dts: imx: Add missing #phy-cells to usb-nop-xceiv f0e11ff8ff65 ARM: dts: am33xx: Add missing #phy-cells to ti,am335x-usb-phy f568f6f554b8 ARM: dts: omap: Add missing #phy-cells to usb-nop-xceiv

These 2 aren't in -next and seem to have been missed:

arm: dts: qcom: fix missing #phy-cells for apq8064
arm: dts: nspire: Add missing #phy-cells to usb-nop-xceiv

Arnd, Olof, can you pick these up?

Rob

#9 lore raw
Quoted 4 lines · Rob Herring

On Tue, Dec 5, 2017 at 4:48 PM, Stephen Rothwell <[email protected]> wrote:
These 2 aren't in -next and seem to have been missed:

arm: dts: qcom: fix missing #phy-cells for apq8064

Apparently this is a subsect of 3191b5b332f8 ("ARM: dts: qcom-apq8064: Fix dsi and hdmi phy cells"), which we already have

Quoted 1 line

arm: dts: nspire: Add missing #phy-cells to usb-nop-xceiv

Picked this one up now.

Arnd