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

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

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

1,121 Views
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 Kudos
Reply
1 Reply

1,115 Views
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 Kudos
Reply