mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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:
@@ -2108,6 +2108,7 @@
|
||||
"hdmitx_sck";
|
||||
function = "hdmitx";
|
||||
bias-disable;
|
||||
drive-strength = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user