clk: meson: meson8b: add the fractional divider for vid_pll_dco
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 2 Dec 2018 21:42:19 +0000 (22:42 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 3 Dec 2018 10:49:51 +0000 (11:49 +0100)
commit007f3da7d38ac7eb71fb092e43354dbf2e7b5109
tree23bbb1943e32daa33e28eaad4695e7860c227034
parent376d8c45bd6ac79f02ecf9ca1606dc5d1b271bc0
clk: meson: meson8b: add the fractional divider for vid_pll_dco

This "vid_pll_dco" (which should be named HDMI_PLL or - as the datasheet
calls it - HPLL) has a 12-bit wide fractional parameter at
HHI_VID_PLL_CNTL2[11:0]. Add this so we correctly calculate the rate of
this PLL when u-boot is configured for a video mode which uses this
fractional parameter.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20181202214220.7715-3-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c
drivers/clk/meson/meson8b.h