]> 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)
commit5055f54c39b6b2f0ad17d0eab8fd32e7aca5d500
tree807a1e5e005d11642c4a13f6bf85375320bda79e
parent4bd62b71d2f1fe22011a2fbf0f0ed37b41d14ff9
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