]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: enable the eDP on rk3288 veyron devices
authorHeiko Stuebner <heiko@sntech.de>
Mon, 14 Dec 2015 16:18:42 +0000 (17:18 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 6 Apr 2016 23:26:05 +0000 (16:26 -0700)
After hooking up panel and backlight informations, enable the
edp on veyron chromebooks now.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Douglas Anderson <dianders@chromium.org>
arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi

index 7563d3d156d748b3d19115a6c8c8017d80e0b45f..2958c36d12a0e229ec050d507b36cfdedd12c2cf 100644 (file)
@@ -111,6 +111,14 @@ panel: panel {
                status = "okay";
                power-supply = <&vcc33_lcd>;
                backlight = <&backlight>;
+
+               ports {
+                       panel_in: port {
+                               panel_in_edp: endpoint {
+                                       remote-endpoint = <&edp_out_panel>;
+                               };
+                       };
+               };
        };
 
        /* A non-regulated voltage from power supply or battery */
@@ -154,6 +162,29 @@ vcc5v_otg: vcc5v-otg-regulator {
        };
 };
 
+&edp {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&edp_hpd>;
+
+       ports {
+               edp_out: port@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       edp_out_panel: endpoint {
+                               reg = <0>;
+                               remote-endpoint = <&panel_in_edp>;
+                       };
+               };
+       };
+};
+
+&edp_phy {
+       status = "okay";
+};
+
 &gpio_keys {
        pinctrl-0 = <&pwr_key_l &ap_lid_int_l>;
        lid {
@@ -166,6 +197,10 @@ lid {
        };
 };
 
+&pwm0 {
+       status = "okay";
+};
+
 &rk808 {
        vcc11-supply = <&vcc_5v>;
 
@@ -219,6 +254,14 @@ trackpad@15 {
        };
 };
 
+&vopl {
+       status = "okay";
+};
+
+&vopl_mmu {
+       status = "okay";
+};
+
 &pinctrl {
        pinctrl-0 = <
                /* Common for sleep and wake, but no owners */