aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_hdmi.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-09-03 03:20:35 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-09-14 04:23:35 -0400
commit9289c475823b6eee1f68af2a71243d0cff126948 (patch)
tree3ee758febe25c428e405d24f788d7b25c6818bdd /drivers/video/sh_mobile_hdmi.c
parent6aa966e610f918a6732a5acc102cb5e8de616cb3 (diff)
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>
Diffstat (limited to 'drivers/video/sh_mobile_hdmi.c')
-rw-r--r--drivers/video/sh_mobile_hdmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c
index 91682f1bad79..2260fd7edd95 100644
--- a/drivers/video/sh_mobile_hdmi.c
+++ b/drivers/video/sh_mobile_hdmi.c
@@ -401,7 +401,7 @@ static void sh_hdmi_phy_config(struct sh_hdmi *hdmi)
401 * [6] DRV_TEST_EN 401 * [6] DRV_TEST_EN
402 * [7] DRV_TEST_IN 402 * [7] DRV_TEST_IN
403 */ 403 */
404 hdmi_write(hdmi, 0x19, HDMI_SLIPHDMIT_PARAM_SETTINGS_1); 404 hdmi_write(hdmi, 0x0f, HDMI_SLIPHDMIT_PARAM_SETTINGS_1);
405 /* PLLB_CONFIG[17], PLLA_CONFIG[17] - not in PHY datasheet */ 405 /* PLLB_CONFIG[17], PLLA_CONFIG[17] - not in PHY datasheet */
406 hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_2); 406 hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_2);
407 /* 407 /*
@@ -422,7 +422,7 @@ static void sh_hdmi_phy_config(struct sh_hdmi *hdmi)
422 * PLLB_CONFIG[15:8]: regulator voltage[0], CP current, 422 * PLLB_CONFIG[15:8]: regulator voltage[0], CP current,
423 * LPF capacitance, LPF resistance[1] 423 * LPF capacitance, LPF resistance[1]
424 */ 424 */
425 hdmi_write(hdmi, 0x0E, HDMI_SLIPHDMIT_PARAM_SETTINGS_8); 425 hdmi_write(hdmi, 0x00, HDMI_SLIPHDMIT_PARAM_SETTINGS_8);
426 /* DRV_CONFIG, PE_CONFIG */ 426 /* DRV_CONFIG, PE_CONFIG */
427 hdmi_write(hdmi, 0x25, HDMI_SLIPHDMIT_PARAM_SETTINGS_9); 427 hdmi_write(hdmi, 0x25, HDMI_SLIPHDMIT_PARAM_SETTINGS_9);
428 /* 428 /*