summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-02-15 15:45:03 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-02-15 15:54:38 +0200
commitacd7fd0747ce75fed7ee2ea440aa92baf08e1d25 (patch)
tree278bff359c2c875aa1af0cf26b04e300e09d7451 /arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi
parentef1a0712f04fbc5a55b8a967f7d8f16bb44704f8 (diff)
arm64: dts: colibri-imx8x: add dsi-hdmi adapter
Return back the definitions of the DSI-HDMI converter and all related stuff to the main devicetree to keep an overlay as simple as possible. Remains it disabled in the main devicetree. Related-to: ELB-3246 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi65
1 files changed, 62 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi
index 1264eb3efac6..464828618620 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi
@@ -438,11 +438,52 @@
/* MIPI DSI accessible on FFC (X2) */
&i2c0_mipi_lvds0 {
- #address-cells = <1>;
- #size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c0_mipi_lvds0>;
clock-frequency = <100000>;
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* DSI to HDMI Adapter V1.1A */
+ pca9540_switch: i2c-switch@70 {
+ compatible = "nxp,pca9540";
+ reg = <0x70>;
+ i2c-mux-idle-disconnect;
+ status = "disabled";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* DDC/EDID */
+ i2c_sw0: i2c-sw@0 {
+ reg = <0>;
+ };
+
+ /* DSI-HDMI converter */
+ i2c-sw@1 {
+ reg = <1>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ lt8912_hdmi: dsihdmi@48 {
+ compatible = "lontium,lt8912";
+ ddc-i2c-bus = <&i2c_sw0>;
+ hpd-gpios = <&lsio_gpio1 31 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio_hpd>;
+ reg = <0x48>;
+
+ port {
+ lt8912_in: endpoint {
+ remote-endpoint = <&mipi0_dsi_host_out>;
+ };
+ };
+ };
+ };
+ };
};
/* On-module MIPI CSI I2C accessible on FFC (X3) */
@@ -477,7 +518,7 @@
pinctrl_ad7879_int: ad7879-int {
fsl,pins = <
IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21
- >
+ >;
};
/* Colibri Analogue Inputs */
@@ -587,6 +628,13 @@
>;
};
+ /* HDMI Hot Plug Detect on FFC (X2) */
+ pinctrl_gpio_hpd: gpio-hpd {
+ fsl,pins = <
+ IMX8QXP_MIPI_DSI1_GPIO0_00_LSIO_GPIO1_IO31 0x20 /* SODIMM 138 */
+ >;
+ };
+
pinctrl_hog0: hog0grp {
fsl,pins = <
IMX8QXP_COMP_CTL_GPIO_1V8_3V3_GPIORHB_PAD 0x000514a0 /* Use pads in 3.3V mode */
@@ -1170,6 +1218,17 @@
&mipi0_dsi_host {
pwr-delay = <10>;
+
+ ports {
+ port@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ mipi0_dsi_host_out: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&lt8912_in>;
+ };
+ };
+ };
};
&mipi1_dsi_host {