hdmitx: config DDC to 100kHz
authorKaifu Hu <kaifu.hu@amlogic.com>
Tue, 17 Apr 2018 03:06:47 +0000 (11:06 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 17 Apr 2018 08:29:35 +0000 (00:29 -0800)
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>
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c

index 4ba62be..0f4239e 100644 (file)
                                "hdmitx_sck";
                        function = "hdmitx";
                        bias-disable;
+                       drive-strength = <3>;
                };
        };
 
index 3cd84fe..92ce220 100644 (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);