]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: Add G12A Video Clock setup
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Mar 2019 14:18:22 +0000 (15:18 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 9 Apr 2019 09:26:04 +0000 (11:26 +0200)
commitee616a6a76ec701c3c011c0ccd8353457918ca98
tree807a1e5e005d11642c4a13f6bf85375320bda79e
parentefecba524e7469096f86ee5636a5e0e7692ffb49
drm/meson: Add G12A Video Clock setup

While switching to the Common Clock Framework is still Work In Progress,
this patch adds the corresponding G12A HDMI PLL setup to be on-par
with the other SoCs support.

The G12A has only a single tweak about the high frequency setup,
where the HDMI PLL needs a specific setup to handle correctly the
5.94GHz DCO frequency.

Apart that, it handls ecorrectly all the other HDMI frequencies
and can achieve even better DMT clock frequency precision with
the larger fractional dividier width.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190325141824.21259-10-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_vclk.c