[PATCH] ARM: dts: integrator: Fix DMA ranges mismatch warning on IM-PD1

Linus Walleij linusw at kernel.org
Wed Dec 24 12:57:02 PST 2025


On Thu, Dec 4, 2025 at 5:42 PM Kuan-Wei Chiu <visitorckw at gmail.com> wrote:

> When compiling the device tree for the Integrator/AP with IM-PD1, the
> following warning is observed regarding the display controller node:
>
> arch/arm/boot/dts/arm/integratorap-im-pd1.dts:251.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)
>
> The display node specifies an empty "dma-ranges" property, intended to
> describe a 1:1 identity mapping. However, the node lacks explicit
> "#address-cells" and "#size-cells" properties.

(...)
> +++ b/arch/arm/boot/dts/arm/integratorap-im-pd1.dts
> @@ -248,6 +248,8 @@ display at 1000000 {
>                 /* 640x480 16bpp @ 25.175MHz is 36827428 bytes/s */
>                 max-memory-bandwidth = <40000000>;
>                 memory-region = <&impd1_ram>;
> +               #address-cells = <1>;
> +               #size-cells = <1>;
>                 dma-ranges;
>
>                 port at 0 {

This is for the *port* node and not for the
stuff mentioned in the commit message, but the port is:

                port at 0 {
                        #address-cells = <1>;
                        #size-cells = <0>;

                        clcd_pads_vga_dac: endpoint at 0 {
                                reg = <0>;
                                remote-endpoint = <&vga_bridge_in>;
                                arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
                        };
                };

Devoid of any reg, so who cares?

Probably the empty dma-ranges should just be deleted again, it is
pointless for the port.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list