OSDN Git Service

arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel
authorGuido Günther <agx@sigxcpu.org>
Thu, 20 Aug 2020 08:50:57 +0000 (10:50 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Aug 2020 02:48:32 +0000 (10:48 +0800)
Enable LCD panel output by adding nodes for the NWL DSI host controller,
the Rocktech panel and the eLCDIF display controller.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

index 6900ac2..51fdc96 100644 (file)
        };
 };
 
+&lcdif {
+       status = "okay";
+};
+
+&mipi_dsi {
+       status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       panel@0 {
+               compatible = "rocktech,jh057n00900";
+               reg = <0>;
+               backlight = <&backlight_dsi>;
+               reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
+               iovcc-supply = <&reg_1v8_p>;
+               vcc-supply = <&reg_2v8_p>;
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&mipi_dsi_out>;
+                       };
+               };
+       };
+
+       ports {
+               port@1 {
+                       reg = <1>;
+                       mipi_dsi_out: endpoint {
+                               remote-endpoint = <&panel_in>;
+                       };
+               };
+       };
+};
+
 &pgc_gpu {
        power-supply = <&buck3_reg>;
 };