How to set HDMI I2C to 400KHz in imx8mplus platform?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to set HDMI I2C to 400KHz in imx8mplus platform?

1,133 次查看
t2865k5
Contributor I

Dear NXP , 

I want to set HDMI I2C (HDMI_DDC_SCL/HDMI_DDC_SDA ) from 100Khz to 400Khz in imx8mplus platform.

I modify as follows:

imx8mp.dtsi:

hdmiphy: hdmiphy@32fdff00 {
compatible = "fsl,samsung-hdmi-phy";
reg = <0x32fdff00 0x400>;
#clock-cells = <1>;
clocks = <&hdmi_blk_ctrl IMX8MP_CLK_HDMI_BLK_CTRL_TX_PHY_APB_CLK>,
<&hdmi_blk_ctrl IMX8MP_CLK_HDMI_BLK_CTRL_GLOBAL_XTAL24M_CLK>;
clock-names = "apb", "ref";
clock-output-names = "hdmi_phy";
#phy-cells = <0>;
resets = <&hdmi_blk_ctrl IMX8MP_HDMI_BLK_CTRL_HDMI_PHY_RESET>;
status = "disabled";
};

 

Test result : It still is 100KHZ.

Please tell me how to set it (HDMI i2c) to 400KHZ

HW:imx8mplus platform

SW: kernel : 5.10.9

t2865k5_2-1629977004036.png

 

0 项奖励
回复
1 回复

1,127 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Albert

 

one can try to configure register "phy_i2cm_div" described in sect.13.9.3.6.19 PHY I2C

Speed control Register (This register sets the I2C Master PHY to work in either Fast or Standard mode)

i.MX 8M Plus Applications Processor Reference Manual

 

Best regards
igor

0 项奖励
回复