diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-08-20 10:50:57 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-23 10:48:32 +0800 |
commit | e8151ef3578c9529f1b69f08bfcfd1e67e676e82 (patch) | |
tree | e67c5d2ff65ebfdacf0ca91fff0416b50a2c7372 /arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | |
parent | d0081bd02a037c1b867c4d3a5cb0878fb321cb08 (diff) | |
download | linux-e8151ef3578c9529f1b69f08bfcfd1e67e676e82.tar.bz2 |
arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 6900ac274f5b..51fdc969f3d5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -834,6 +834,39 @@ }; }; +&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 = <®_1v8_p>; + vcc-supply = <®_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>; }; |