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)
commit202b9808f8edc8508f34f99a96c6cbe88042aff1
tree807a1e5e005d11642c4a13f6bf85375320bda79e
parent64d598a106c3d6c06071fd66780d3d7d7d15251a
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