summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2019-03-24 19:26:40 +0100
committerAnatolij Gustschin <agust@denx.de>2019-03-28 23:45:41 +0100
commit1feed358ed15d795929cd6618b2f450719dbe416 (patch)
treec82fbe5244905a422e3b33fbd2cda29fbe131b2c /include/configs
parent2b9b9cdd5f9ae1cbc786ba3c2255a51b3ea4a636 (diff)
sunxi: video: HDMI: Fix clock setup
Currently, HDMI driver doesn't consider minimum and maximum allowed rate of pll3 (video PLL). It works most of the time, but not always. Consider monitor with resolution 1920x1200, which has pixel clock rate of 154 MHz. Current code would determine that pll3 rate has to be set to 154 MHz. However, minimum supported rate is 192 MHz. In this case video output just won't work. The reason why the driver is written in the way it is, is that at the time HDMI PHY and clock configuration wasn't fully understood. But now we have needed knowledge, so the issue can be fixed. With this fix, clock configuration routine uses full range (1-16) for clock divider instead of limited one (1, 2, 4, 11). It also considers minimum and maximum allowed rate for pll3. Fixes: 56009451d843 ("sunxi: video: Add A64/H3/H5 HDMI driver") Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions