ARM: dts: represent bridge and panel connection for exynos5420-peach-pit
authorAjay Kumar <ajaykumar.rs@samsung.com>
Wed, 4 Feb 2015 15:29:56 +0000 (00:29 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 26 Feb 2015 19:44:53 +0000 (04:44 +0900)
Define videoports and use endpoints to describe the connection between
the encoder, bridge and the panel, instead of using phandles.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Tested-by: Rahul Sharma <rahul.sharma@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Tested-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5420-peach-pit.dts

index c47bb70..ec86d95 100644 (file)
                compatible = "auo,b116xw03";
                power-supply = <&tps65090_fet6>;
                backlight = <&backlight>;
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&bridge_out>;
+                       };
+               };
        };
 };
 
        samsung,link-rate = <0x06>;
        samsung,lane-count = <2>;
        samsung,hpd-gpio = <&gpx2 6 0>;
-       bridge = <&ps8625>;
+
+       ports {
+               port@0 {
+                       dp_out: endpoint {
+                               remote-endpoint = <&bridge_in>;
+                       };
+               };
+       };
 };
 
 &fimd {
                sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
                lane-count = <2>;
-               panel = <&panel>;
                use-external-pwm;
+
+               ports {
+                       port@0 {
+                               bridge_out: endpoint {
+                                       remote-endpoint = <&panel_in>;
+                               };
+                       };
+
+                       port@1 {
+                               bridge_in: endpoint {
+                                       remote-endpoint = <&dp_out>;
+                               };
+                       };
+               };
+
        };
 };