arm64: dts: rockchip: hook up the px30-evb dsi display
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Mon, 9 Dec 2019 14:53:01 +0000 (15:53 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Jan 2020 09:33:12 +0000 (10:33 +0100)
Create the necessary display nodes to activate the Xingpeng XPP055C272
dsi display that can be found on the px30-evb.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Link: https://lore.kernel.org/r/20191209145301.5307-2-heiko@sntech.de
arch/arm64/boot/dts/rockchip/px30-evb.dts

index 180995a..0a68025 100644 (file)
        status = "okay";
 };
 
+&dsi {
+       status = "okay";
+
+       ports {
+               mipi_out: port@1 {
+                       reg = <1>;
+
+                       mipi_out_panel: endpoint {
+                               remote-endpoint = <&mipi_in_panel>;
+                       };
+               };
+       };
+
+       panel@0 {
+               compatible = "xinpeng,xpp055c272";
+               reg = <0>;
+               backlight = <&backlight>;
+               iovcc-supply = <&vcc_1v8>;
+               vci-supply = <&vcc3v3_lcd>;
+
+               port {
+                       mipi_in_panel: endpoint {
+                               remote-endpoint = <&mipi_out_panel>;
+                       };
+               };
+       };
+};
+
+&dsi_dphy {
+       status = "okay";
+};
+
 &emmc {
        bus-width = <8>;
        cap-mmc-highspeed;