On Thu, Dec 4, 2025 at 5:42 PM Kuan-Wei Chiu visitorckw@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@c0000000/bus@c0000000/display@1000000:dma-ranges: empty "dma-ranges" property but its #address-cells (2) differs from /bus@c0000000/bus@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@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@0 {
This is for the *port* node and not for the stuff mentioned in the commit message, but the port is:
port@0 { #address-cells = <1>; #size-cells = <0>;
clcd_pads_vga_dac: endpoint@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