hdmi 專用的I2C(EIM_EB2/EIM_D16)

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

hdmi 專用的I2C(EIM_EB2/EIM_D16)

1,931 Views
frankweng
Contributor III

chipset : imx6q/imx6dl

kernel : 4.1.15

hdmi 專用I2C,

EIM_EB2 設定為HDMI_TX_DDC_SCL mode

EIM_D16設定為HDMI_TX_DDC_SDA mode

但無法被作用

請問是否有參考的文件

Labels (3)
3 Replies

1,465 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Frank,

     See bellow, please!

(1) 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

(2) Corresponding documents

Reference manual and BSP source code are enough.

Have a nice day!

Best regards,

NXP TIC Weidong Sun

1,465 Views
frankweng
Contributor III

謝謝 Wigros Sun 您的回覆

你所建議的方式我已經有試過,依然不可行

BSP code 的hdmi ddc 是走I2C2,宣告方式如下

&i2c2 {
             clock-frequency = <100000>;
               pinctrl-names = "default";
               pinctrl-0 = <&pinctrl_i2c2>;
               status = "okay";

               hdmi: edid@50 {
                        compatible = "fsl,imx6-hdmi-i2c";
                        reg = <0x50>;
            };
};

pinctrl_i2c2: i2c2grp {
            fsl,pins = <
                              MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
                              MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
                              >;
};

但是現在我的HDMI DDC硬體是走EIM_EB2/EIM_D16,並非走I2C,故我將"hdmi: edid@50" 宣告從&i2c2  的結構下刪除

,刪除之後好像找不到地方可以打HDMI DDC (EIM_EB2/EIM_D16) 起動

 同時我有參考[RFC] i2c: i2c-imx-hdmi: add support of iMX6 HDMI DDC I2C master bus - Patchwork  

按照網址寫的方式實做,結果依照不會動,DDC 也量不到訊號的動作

再次請你協助,是否有code 也要進行修改,謝謝你的幫助!!

祝你一切都順心

0 Kudos
Reply

1,465 Views
frankweng
Contributor III

hdmi 可以了~~

uboot 的mxcfb0:ldb and mxcfb1:hdmi 兩組參數都要設定才會有畫面

請問如果只要hdmi輸出,將uboot  mxcfb0 設為off,video=mxcfb1:dev=hdmi,1920x1080M@60 ,這樣hmdi反而沒有輸出

是那裡還要作設定

0 Kudos
Reply