Hi Rob, On Fri, Mar 13, 2020 at 10:47:01AM -0500, Rob Herring wrote: > '#address-cells' and '#size-cells' are needed in the same node (for the > child bus) as 'dma-ranges' in order to parse it. The kernel is more lax > and will walk up the tree to get the properties from a parent node, but > it's better to be explicit. dtc now does checks on 'dma-ranges' and is > more strict: > > arch/arm/boot/dts/sun5i.dtsi:189.4-52: Warning (dma_ranges_format): \ > /soc/dram-controller@1c01000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) > arch/arm/boot/dts/sun8i-r40.dtsi:742.4-52: Warning (dma_ranges_format): \ > /soc/dram-controller@1c62000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) > arch/arm/boot/dts/sunxi-h3-h5.dtsi:563.4-52: Warning (dma_ranges_format): \ > /soc/dram-controller@1c62000:dma-ranges: "dma-ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) > > Cc: Maxime Ripard <mripard@xxxxxxxxxx> > Cc: Chen-Yu Tsai <wens@xxxxxxxx> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> > --- > I'm updating dtc for 5.7 which will introduce this warning. Acked-by: Maxime Ripard <mripard@xxxxxxxxxx> We've pushed our changes through arm-soc already, so you might want to pick this up through your tree? Thanks! Maxime
Attachment:
signature.asc
Description: PGP signature