MLK-14286-2 ARM: dts: imx7ulp-evk: add dts support for ADV7535
authorFancy Fang <chen.fang@nxp.com>
Tue, 28 Feb 2017 07:08:53 +0000 (15:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:51 +0000 (15:21 -0500)
ADV7535 is a low-power MIPI-DSI receiver with HDMI 1.4 compliant
transmitter. And it's an I2C device attached by lpi2c5.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 0bbfb671445d1f2d5037ea7168ebcb4699760095)

arch/arm/boot/dts/imx7ulp-evk.dts

index 31b3380..f8c87cb 100644 (file)
                                ULP1_PAD_PTE6__PTE6             0x20043 /* WL_REG_ON */
                        >;
                };
+
+               pinctrl_dsi_hdmi: dsi_hdmi_grp {
+                       fsl,pins = <
+                               ULP1_PAD_PTC18__PTC18           0x10103         /* DSI_HDMI_INT */
+                       >;
+               };
        };
 };
 
        pinctrl-1 = <&pinctrl_lpi2c5>;
        status = "okay";
 
+       adv7535: adv7535@3d {
+               compatible = "adi,adv7535";
+               reg = <0x3d>; /* PD pin is low */
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_dsi_hdmi>;
+               interrupt-parent = <&gpio0>;
+               interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
+               video-mode = <1>; /*
+                                  * Only support CEA modes.
+                                  * Reference mxc_edid.c
+                                  */
+               bpp = <24>;
+               status = "disabled";
+       };
+
        fxas2100x@20 {
                compatible = "fsl,fxas2100x";
                reg = <0x20>;