ARM: dts: Use OF graph for DP to panel connection in exynos5800-peach-pi
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 3 Dec 2015 12:32:17 +0000 (09:32 -0300)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:51 +0000 (22:22 +0900)
The DT binding for the Exynos DRM Display Port (DP) driver isn't consistent
since it uses a phandle to describe the connection between the DP port and
the display panel but uses the OF graph ports and endpoints to describe the
connection betwen the DP port, a bridge chip and the panel.

The Exynos DP driver and the DT binding have been changed to allow also to
describe the DP port to panel connection using ports / endpoints (OF graph)
so this patch changes the Exynos5800 Peach Pi DT to make it consistent with
the Exynos5420 Peach Pit that has a eDP to LVDS chip and uses OF graph too.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 49a4f43e5ac25c8ad16742cca0ccdebf9f9d194c..1cc2e95ffc66559f84c1f639cf8a89581e75387e 100644 (file)
                compatible = "auo,b133htn01";
                power-supply = <&tps65090_fet6>;
                backlight = <&backlight>;
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&dp_out>;
+                       };
+               };
        };
 
        mmc1_pwrseq: mmc1_pwrseq {
        samsung,link-rate = <0x0a>;
        samsung,lane-count = <2>;
        samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
-       panel = <&panel>;
+
+       ports {
+               port {
+                       dp_out: endpoint {
+                               remote-endpoint = <&panel_in>;
+                       };
+               };
+       };
 };
 
 &fimd {