[PATCH -next] ARM: dts: integrator: fix PCI bus dtc warnings

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Aug 7 23:09:11 PDT 2023


On 08/08/2023 03:28, Lin Yujun wrote:
> An warning is reported when allmodconfig is used to compile the kernel of the ARM architecture:
> 
> arch/arm/boot/dts/arm/integratorap-im-pd1.dts:252.3-14: Warning (dma_ranges_format): /bus at c0000000/bus at c0000000/display at 1000000:dma-ranges: empty "dma-ranges" property but its #address-cells (2) differs from /bus at c0000000/bus at c0000000 (1)

This does not fix the warning at all.

> arch/arm/boot/dts/arm/integratorap.dts:161.22-206.4: Warning (pci_bridge): /pciv3 at 62000000: node name is not "pci" or "pcie"

Maybe this one is fixed only... Drop all unrelated warnings, because
this is very confusing.

> arch/arm/boot/dts/arm/integratorap-im-pd1.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
> arch/arm/boot/dts/arm/integratorap-im-pd1.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
> arch/arm/boot/dts/arm/integratorap-im-pd1.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
> arch/arm/boot/dts/arm/integratorap.dts:161.22-206.4: Warning (pci_bridge): /pciv3 at 62000000: node name is not "pci" or "pcie"
> arch/arm/boot/dts/arm/integratorap.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
> arch/arm/boot/dts/arm/integratorap.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
> arch/arm/boot/dts/arm/integratorap.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
> 
> Change the node name to pci to clear the build warning.
> 
> Fixes: 4952aa696a9f ("ARM: dts: integrator: Tag PCI host with device_type")

No, not a fix. It's just node naming.

> 
> Signed-off-by: Lin Yujun <linyujun809 at huawei.com>
> ---
Krzysztof




More information about the linux-arm-kernel mailing list