fbdev: sh_mobile_hdmi: improve HDMI PHY parameters for high resolutions
High monitor resolutions also require higher clock frequencies, current HDMI PHY parameters do not work well for resolutions higher than 720p. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
6aa966e610
commit
9289c47582
|
@ -401,7 +401,7 @@ static void sh_hdmi_phy_config(struct sh_hdmi *hdmi)
|
||||||
* [6] DRV_TEST_EN
|
* [6] DRV_TEST_EN
|
||||||
* [7] DRV_TEST_IN
|
* [7] DRV_TEST_IN
|
||||||
*/
|
*/
|
||||||
hdmi_write(hdmi, 0x19, HDMI_SLIPHDMIT_PARAM_SETTINGS_1);
|
hdmi_write(hdmi, 0x0f, HDMI_SLIPHDMIT_PARAM_SETTINGS_1);
|
||||||
/* PLLB_CONFIG[17], PLLA_CONFIG[17] - not in PHY datasheet */
|
/* PLLB_CONFIG[17], PLLA_CONFIG[17] - not in PHY datasheet */
|
||||||
hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_2);
|
hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_2);
|
||||||
/*
|
/*
|
||||||
|
@ -422,7 +422,7 @@ static void sh_hdmi_phy_config(struct sh_hdmi *hdmi)
|
||||||
* PLLB_CONFIG[15:8]: regulator voltage[0], CP current,
|
* PLLB_CONFIG[15:8]: regulator voltage[0], CP current,
|
||||||
* LPF capacitance, LPF resistance[1]
|
* LPF capacitance, LPF resistance[1]
|
||||||
*/
|
*/
|
||||||
hdmi_write(hdmi, 0x0E, HDMI_SLIPHDMIT_PARAM_SETTINGS_8);
|
hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_8);
|
||||||
/* DRV_CONFIG, PE_CONFIG */
|
/* DRV_CONFIG, PE_CONFIG */
|
||||||
hdmi_write(hdmi, 0x25, HDMI_SLIPHDMIT_PARAM_SETTINGS_9);
|
hdmi_write(hdmi, 0x25, HDMI_SLIPHDMIT_PARAM_SETTINGS_9);
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue