hdmitx: config DDC to 100kHz

PD#164530: hdmitx: config DDC to 100kHz

Config DDC to 100kHz for HDMI I2C.

Change-Id: I9b450bb8f9b727a3f468f55138aa64596abe92ef
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
This commit is contained in:
Kaifu Hu
2018-04-17 11:06:47 +08:00
committed by Yixun Lan
parent 85f3e27ee9
commit 67a662f312
2 changed files with 3 additions and 2 deletions

View File

@@ -2108,6 +2108,7 @@
"hdmitx_sck";
function = "hdmitx";
bias-disable;
drive-strength = <3>;
};
};

View File

@@ -593,9 +593,9 @@ static void hdmi_hwi_init(struct hdmitx_dev *hdev)
hdmitx_wr_reg(HDMITX_DWC_I2CM_DIV, data32);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_HCNT_1, 0);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_HCNT_0, 0x67);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_HCNT_0, 0x68);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_LCNT_1, 0);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_LCNT_0, 0x78);
hdmitx_wr_reg(HDMITX_DWC_I2CM_SS_SCL_LCNT_0, 0x79);
hdmitx_wr_reg(HDMITX_DWC_I2CM_FS_SCL_HCNT_1, 0);
hdmitx_wr_reg(HDMITX_DWC_I2CM_FS_SCL_HCNT_0, 0x0f);
hdmitx_wr_reg(HDMITX_DWC_I2CM_FS_SCL_LCNT_1, 0);