ARM: dts: exynos: move DP and MIPI phys to PMU node in Exynos5420
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 27 Jan 2023 19:40:55 +0000 (20:40 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 6 Mar 2023 11:33:26 +0000 (12:33 +0100)
The DisplayPort and MIPI phys are actually part of the Power Management
Unit system controller.  They do not have their own address space, thus
keeping the nodes under soc causes warnings:

  exynos5420-smdk5420.dtb: soc: dp-video-phy: {'compatible': ['samsung,exynos5420-dp-video-phy'],
    'samsung,pmu-syscon': [[11]], '#phy-cells': [[0]], 'phandle': [[16]]} should not be valid under {'type': 'object'}

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20230127194057.186458-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/exynos5420.dtsi

index 13d7be236a23a5819cd4f73bb9a7eacc55541524..17dec11fb77360067003f138952b59bbc5e26cf1 100644 (file)
                        status = "disabled";
                };
 
-               dp_phy: dp-video-phy {
-                       compatible = "samsung,exynos5420-dp-video-phy";
-                       samsung,pmu-syscon = <&pmu_system_controller>;
-                       #phy-cells = <0>;
-               };
-
-               mipi_phy: mipi-video-phy {
-                       compatible = "samsung,exynos5420-mipi-video-phy";
-                       syscon = <&pmu_system_controller>;
-                       #phy-cells = <1>;
-               };
-
                dsi: dsi@14500000 {
                        compatible = "samsung,exynos5410-mipi-dsi";
                        reg = <0x14500000 0x10000>;
                };
 
                pmu_system_controller: system-controller@10040000 {
-                       compatible = "samsung,exynos5420-pmu", "syscon";
+                       compatible = "samsung,exynos5420-pmu", "simple-mfd", "syscon";
                        reg = <0x10040000 0x5000>;
                        clock-names = "clkout16";
                        clocks = <&clock CLK_FIN_PLL>;
                        interrupt-controller;
                        #interrupt-cells = <3>;
                        interrupt-parent = <&gic>;
+
+                       dp_phy: dp-phy {
+                               compatible = "samsung,exynos5420-dp-video-phy";
+                               #phy-cells = <0>;
+                       };
+
+                       mipi_phy: mipi-phy {
+                               compatible = "samsung,exynos5420-mipi-video-phy";
+                               #phy-cells = <1>;
+                       };
                };
 
                tmu_cpu0: tmu@10060000 {