diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2019-09-30 10:02:38 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2019-09-30 13:03:05 +0300 |
commit | 48788b0399a3ad73f507c02267041b8b1205decc (patch) | |
tree | 1e855655868c508e8b316c2b358385531bcb1d6f | |
parent | 21a3328867b20fe5a660feae32ec911d1598f3e3 (diff) |
colibri-imx8x: add support V1.0 DSI to HDMI Adapter
Add separate DTB for the old V1.0 DSI to HDMI Adapter
Change-Id: Ie9796c89dca743c351282dfc171a516826ebb3f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
3 files changed, 229 insertions, 1 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx8x.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx8x.conf index 33fea544..7232d09a 100644 --- a/meta-boot2qt-distro/conf/distro/include/colibri-imx8x.conf +++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx8x.conf @@ -30,3 +30,6 @@ include conf/distro/include/toradex.inc DEPLOY_CONF_NAME = "Toradex Colibri iMX8X" + +# Add support for old V1.0 DSI to HDMI Adapter +KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dtb" diff --git a/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex/0001-Add-dtb-for-DSI-to-HDMI-Adapter-V1.0.patch b/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex/0001-Add-dtb-for-DSI-to-HDMI-Adapter-V1.0.patch new file mode 100644 index 00000000..93b60ae1 --- /dev/null +++ b/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex/0001-Add-dtb-for-DSI-to-HDMI-Adapter-V1.0.patch @@ -0,0 +1,222 @@ +From 16981044fc6c9bc2c7bd2fa6a89b4fff1f995011 Mon Sep 17 00:00:00 2001 +From: Samuli Piippo <samuli.piippo@qt.io> +Date: Mon, 30 Sep 2019 09:59:10 +0300 +Subject: [PATCH] Add dtb for DSI to HDMI Adapter V1.0 + +--- + ...sl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dts | 206 ++++++++++++++++++ + 1 file changed, 206 insertions(+) + create mode 100644 arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dts + +diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dts +new file mode 100644 +index 000000000000..44cd3ca53804 +--- /dev/null ++++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-dsihdmi-v10-eval-v3.dts +@@ -0,0 +1,206 @@ ++// SPDX-License-Identifier: GPL-2.0+ OR X11 ++/* ++ * Copyright 2018-2019 Toradex ++ */ ++ ++/dts-v1/; ++ ++#include "fsl-imx8qxp-colibri.dtsi" ++#include "fsl-imx8qxp-colibri-eval-v3.dtsi" ++ ++/ { ++ model = "Toradex Colibri iMX8QXP/DX with LT8912 MIPI-DSI 2 HDMI bridge"; ++ compatible = "toradex,colibri-imx8qxp-dsihdmi-eval-v3", "toradex,colibri-imx8qxp", "fsl,imx8qxp"; ++ ++}; ++ ++/* Colibri Parallel RGB */ ++&adma_lcdif { ++ status = "disabled"; ++}; ++ ++&backlight { ++ status = "disabled"; ++}; ++ ++/* Display Prefetch Resolve, (Tiling) */ ++&dpr1_channel1 { ++ status = "okay"; ++}; ++ ++&dpr1_channel2 { ++ status = "okay"; ++}; ++ ++&dpr1_channel3 { ++ status = "okay"; ++}; ++ ++&dpr2_channel1 { ++ status = "okay"; ++}; ++ ++&dpr2_channel2 { ++ status = "okay"; ++}; ++ ++&dpr2_channel3 { ++ status = "okay"; ++}; ++ ++&dpu1 { ++ status = "okay"; ++}; ++ ++&gpu_3d0 { ++ status = "okay"; ++}; ++ ++/* DSI/LVDS port 0 */ ++&i2c0_mipi_lvds0 { ++ status = "okay"; ++ ++ /* DSI to HDMI Adapter V1.0A */ ++ lt8912@48 { ++ compatible = "lontium,lt8912"; ++ hpd-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pinctrl_gpio_hpd>; ++ reg = <0x48>; ++ ++ port { ++ lt8912_1_in: endpoint { ++ remote-endpoint = <&mipi_dsi_bridge1_out>; ++ }; ++ }; ++ ++ display-timings { ++ native-mode = <&timing1>; ++ ++ timing0: timing0 { ++ clock-frequency = <74250000>; ++ hactive = <1280>; ++ vactive = <720>; ++ hfront-porch = <110>; ++ hsync-len = <40>; ++ hback-porch = <220>; ++ vfront-porch = <5>; ++ vsync-len = <5>; ++ vback-porch = <20>; ++ hsync-active = <0>; ++ vsync-active = <0>; ++ de-active = <0>; ++ pixelclk-active = <0>; ++ }; ++ ++ timing1: timing1 { ++ clock-frequency = <148500000>; ++ hactive = <1920>; ++ vactive = <1080>; ++ hfront-porch = <88>; ++ hsync-len = <44>; ++ hback-porch = <148>; ++ vfront-porch = <4>; ++ vsync-len = <5>; ++ vback-porch = <36>; ++ hsync-active = <0>; ++ vsync-active = <0>; ++ de-active = <0>; ++ pixelclk-active = <0>; ++ }; ++ }; ++ }; ++}; ++ ++&iomuxc { ++ pinctrl-names = "default"; ++ ++ colibri-imx8qxp { ++ /* DSI/LVDS Hot Plug Detect on FFC (X2) */ ++ pinctrl_gpio_hpd: gpio-hpd { ++ fsl,pins = < ++ SC_P_MIPI_DSI1_GPIO0_00_LSIO_GPIO1_IO31 0x20 /* SODIMM 138 */ ++ >; ++ }; ++ }; ++}; ++ ++&ldb1_phy { ++ status = "disabled"; ++}; ++ ++&ldb1 { ++ status = "disabled"; ++ ++ lvds-channel@0 { ++ fsl,data-mapping = "jeida"; ++ fsl,data-width = <24>; ++ status = "disabled"; ++ }; ++}; ++ ++&ldb2 { ++ status = "okay"; ++}; ++ ++&ldb2_phy { ++ status = "okay"; ++}; ++ ++&mipi_dsi_phy1 { ++ status = "okay"; ++}; ++ ++&mipi_dsi1 { ++ status = "okay"; ++}; ++ ++&mipi_dsi_bridge1 { ++ status = "okay"; ++ ++ port@1 { ++ mipi_dsi_bridge1_out: endpoint { ++ remote-endpoint = <<8912_1_in>; ++ }; ++ }; ++}; ++ ++&pixel_combiner { ++ status = "okay"; ++}; ++ ++&prg1 { ++ status = "okay"; ++}; ++ ++&prg2 { ++ status = "okay"; ++}; ++ ++&prg3 { ++ status = "okay"; ++}; ++ ++&prg4 { ++ status = "okay"; ++}; ++ ++&prg5 { ++ status = "okay"; ++}; ++ ++&prg6 { ++ status = "okay"; ++}; ++ ++&prg7 { ++ status = "okay"; ++}; ++ ++&prg8 { ++ status = "okay"; ++}; ++ ++&prg9 { ++ status = "okay"; ++}; diff --git a/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex_4.14%.bbappend b/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex_4.14%.bbappend index e7acae73..02de23c0 100644 --- a/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex_4.14%.bbappend +++ b/meta-boot2qt-distro/dynamic-layers/toradex-nxp-layer/recipes-kernel/linux/linux-toradex_4.14%.bbappend @@ -29,4 +29,7 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" -SRC_URI += "file://0001-Enable-atmel-mxt-multitouch-controller.patch" +SRC_URI += "\ + file://0001-Enable-atmel-mxt-multitouch-controller.patch \ + file://0001-Add-dtb-for-DSI-to-HDMI-Adapter-V1.0.patch \ +" |