i.MX6 HDMI DDC I2C master bus driver for Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 HDMI DDC I2C master bus driver for Linux

1,316 Views
florinmaticu
Contributor II

Hello,

I am working on a project based on i.MX 6QuadPlus SABRE Development Board. The HDMI DDC pins (data and clock) are connected to HDMI TX directly. Therefore we are using the I2C master bus from the HDMI TX. 

In the BSP Linux 4.9.11_1.0.0 BSP I could not find a driver implementation for this particular i2c bus.

Is there a driver implementation for this i2c bus ?

Thank you!

Tags (1)
0 Kudos
2 Replies

735 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi florin,

HDMI DDC IOMUX via EIM_EB2 & EIM_D16

Open imx6qdl-sabresd.dtsi file , please! find these lines:

pinctrl_hdmi_hdcp: hdmihdcpgrp {

                                    fsl,pins = <

                                                MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL 0x4001b8b1

                                                MX6QDL_PAD_KEY_ROW3__HDMI_TX_DDC_SDA 0x4001b8b1

                                    >;

                        };

and replace

MX6QDL_PAD_KEY_COL3__HDMI_TX_DDC_SCL & MX6QDL_PAD_KEY_ROW3__HDMI_TX_DDC_SDA

with

MX6QDL_PAD_EIM_EB2__HDMI_TX_DDC_SCL & MX6QDL_PAD_EIM_D16__HDMI_TX_DDC_SDA

or if you are in latest kernel you do not need to change anything.

0 Kudos

735 Views
florinmaticu
Contributor II

Hello,

Thanks for your reply.

For our hardware we already have EIM_D16 and EIM_EB2 connected to I2C2 signals.

fsl,pins = <
MX6QDL_PAD_EIM_D16__I2C2_SDA 0x0001B0B0
MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x0001B0B0
>;
0 Kudos