arm64: dts: rockchip: Enable edp disaplay on kevin
authorJeffy Chen <jeffy.chen@rock-chips.com>
Thu, 19 Oct 2017 03:48:03 +0000 (11:48 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 4 Dec 2017 17:40:39 +0000 (18:40 +0100)
Add edp panel and enable related nodes on kevin.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Mark Yao <mark.yao@rock-chips.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi

index 0384e31..191a6bc 100644 (file)
                pwm-delay-us = <10000>;
        };
 
+       edp_panel: edp-panel {
+               compatible = "sharp,lq123p1jx31", "simple-panel";
+               backlight = <&backlight>;
+               power-supply = <&pp3300_disp>;
+
+               ports {
+                       panel_in_edp: endpoint {
+                               remote-endpoint = <&edp_out_panel>;
+                       };
+               };
+       };
+
        thermistor_ppvar_bigcpu: thermistor-ppvar-bigcpu {
                compatible = "murata,ncp15wb473";
                pullup-uv = <1800000>;
@@ -268,6 +280,23 @@ ap_i2c_dig: &i2c2 {
        };
 };
 
+&edp {
+       status = "okay";
+
+       ports {
+               edp_out: port@1 {
+                       reg = <1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       edp_out_panel: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&panel_in_edp>;
+                       };
+               };
+       };
+};
+
 &ppvar_bigcpu_pwm {
        regulator-min-microvolt = <798674>;
        regulator-max-microvolt = <1302172>;
index 5772c52..470105d 100644 (file)
@@ -927,6 +927,22 @@ ap_i2c_audio: &i2c8 {
        dr_mode = "host";
 };
 
+&vopb {
+       status = "okay";
+};
+
+&vopb_mmu {
+       status = "okay";
+};
+
+&vopl {
+       status = "okay";
+};
+
+&vopl_mmu {
+       status = "okay";
+};
+
 #include <arm/cros-ec-keyboard.dtsi>
 #include <arm/cros-ec-sbs.dtsi>