mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk3036 hdmi: update hdmi pre emphasis for rk3128
This commit is contained in:
@@ -76,7 +76,10 @@ static void rk3036_hdmi_set_pwr_mode(struct hdmi *hdmi_drv, int mode)
|
||||
__func__, hdmi_drv->pwr_mode, mode);
|
||||
rk3036_hdmi_sys_power(hdmi_drv, false);
|
||||
hdmi_writel(hdmi_dev, PHY_DRIVER, 0xaa);
|
||||
if (hdmi_drv->data->soc_type == HDMI_SOC_RK3036)
|
||||
hdmi_writel(hdmi_dev, PHY_PRE_EMPHASIS, 0x6f);
|
||||
else if (hdmi_drv->data->soc_type == HDMI_SOC_RK312X)
|
||||
hdmi_writel(hdmi_dev, PHY_PRE_EMPHASIS, 0x5f);
|
||||
hdmi_writel(hdmi_dev, PHY_SYS_CTL, 0x15);
|
||||
hdmi_writel(hdmi_dev, PHY_SYS_CTL, 0x14);
|
||||
hdmi_writel(hdmi_dev, PHY_SYS_CTL, 0x10);
|
||||
|
||||
Reference in New Issue
Block a user