]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: samsung: exynos4x12: replace duplicate pmu node with phandle
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 22 Jul 2023 12:17:17 +0000 (14:17 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 15 Nov 2023 21:23:21 +0000 (22:23 +0100)
Devicetree for the FIMC IS camera included duplicated PMU node as its
child.  This is not a correct representation of the hardware.  Mapping
the PMU (Power Management Unit) IO memory should be via syscon-like
phandle (samsung,pmu-syscon, already used for other drivers), not by
duplicating "pmu" Devicetree node inside the FIMC IS.

The change is not compatible with older Linux kernel, which does not
parse samsung,pmu-syscon property.

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

index 84c1db221c984b4b971faaddbd009c92838832ee..4524c1e6bb2f468b70497357b1714b101740bc8f 100644 (file)
                iommus = <&sysmmu_fimc_isp>, <&sysmmu_fimc_drc>,
                         <&sysmmu_fimc_fd>, <&sysmmu_fimc_mcuctl>;
                iommu-names = "isp", "drc", "fd", "mcuctl";
+               samsung,pmu-syscon = <&pmu_system_controller>;
                #address-cells = <1>;
                #size-cells = <1>;
                ranges;
                status = "disabled";
 
-               pmu@10020000 {
-                       reg = <0x10020000 0x3000>;
-               };
-
                i2c1_isp: i2c-isp@12140000 {
                        compatible = "samsung,exynos4212-i2c-isp";
                        reg = <0x12140000 0x100>;