ARM: dts: exynos: move MIPI phy to PMU node in Exynos3250
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 7 Feb 2023 19:28:50 +0000 (20:28 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 6 Mar 2023 09:34:14 +0000 (10:34 +0100)
The MIPI phy is actually part of the Power Management Unit system
controller.  It does not have its own address space, thus keeping the
node under soc causes warnings:

  exynos3250-artik5-eval.dtb: soc: video-phy: {'compatible': ['samsung,s5pv210-mipi-video-phy'],
    '#phy-cells': [[1]], 'syscon': [[15]], 'phandle': [[23]]} should not be valid under {'type': 'object'}

Link: https://lore.kernel.org/r/20230207192851.549242-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/exynos3250.dtsi

index 28bb2ce..cb2c59c 100644 (file)
                };
 
                pmu_system_controller: system-controller@10020000 {
-                       compatible = "samsung,exynos3250-pmu", "syscon";
+                       compatible = "samsung,exynos3250-pmu", "simple-mfd", "syscon";
                        reg = <0x10020000 0x4000>;
                        interrupt-controller;
                        #interrupt-cells = <3>;
                        clock-names = "clkout8";
                        clocks = <&cmu CLK_FIN_PLL>;
                        #clock-cells = <1>;
-               };
 
-               mipi_phy: video-phy {
-                       compatible = "samsung,s5pv210-mipi-video-phy";
-                       #phy-cells = <1>;
-                       syscon = <&pmu_system_controller>;
+                       mipi_phy: mipi-phy {
+                               compatible = "samsung,s5pv210-mipi-video-phy";
+                               #phy-cells = <1>;
+                       };
                };
 
                pd_cam: power-domain@10023c00 {