ARM: dts: samsung: exynos4: fix camera unit addresses/ranges
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 22 Jul 2023 12:17:18 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:19 +0000 (20:14 +0000)
commit6f7e8d3952f228d29c696ef286946b238a61c17d
treedaaa0bf3e3f1109c09209c914cc010895e7e80ff
parent5b94b3a8e3399d92727594c93c603375be41f12c
ARM: dts: samsung: exynos4: fix camera unit addresses/ranges

[ Upstream commit ba2a45a48503665f7e8eeec51f8b40456566b0cd ]

The camera node has both unit address and children within the same bus
mapping, thus needs proper ranges property to fix dtc W=1 warnings:

  Warning (unit_address_vs_reg): /soc/camera@11800000: node has a unit name, but no reg or ranges property
  Warning (simple_bus_reg): /soc/camera@11800000: missing or empty reg/ranges property

Subtract 0x11800000 from all its children nodes.  No functional impact
expected.

Link: https://lore.kernel.org/r/20230722121719.150094-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/samsung/exynos4.dtsi
arch/arm/boot/dts/samsung/exynos4x12.dtsi