Re: linux-next: build warning after merge of the imx-mxs tree

From: Rob Herring
Date: Mon May 14 2018 - 09:05:56 EST


On Sun, May 13, 2018 at 7:56 PM, Shawn Guo <shawn.guo@xxxxxxxxxx> 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