arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
authorEugen Hristev <eugen.hristev@collabora.com>
Mon, 14 Aug 2023 07:10:53 +0000 (10:10 +0300)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 29 Nov 2023 09:37:53 +0000 (10:37 +0100)
dtbs_check throws a warning at the dsi node:
Warning (avoid_unnecessary_addr_size): /soc/dsi@14014000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Other DTS have a panel child node with a reg, so the parent dtsi
must have the address-cells and size-cells, however this specific DT
has the panel removed, but not the cells, hence the warning above.

If panel is deleted then the cells must also be deleted since they are
tied together, as the child node in this DT does not have a reg.

Cc: stable@vger.kernel.org
Fixes: cabc71b08eb5 ("arm64: dts: mt8183: Add kukui-jacuzzi-damu board")
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230814071053.5459-1-eugen.hristev@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi

index 06fde1a9aab743a81d3bc521d75263aed8cb40ad..820260348de9b655f051b0d9fc1eb78721e73fd6 100644 (file)
@@ -91,6 +91,8 @@
 
 &dsi0 {
        status = "okay";
+       /delete-property/#size-cells;
+       /delete-property/#address-cells;
        /delete-node/panel@0;
        ports {
                port {