clk: meson: Fix GXL HDMI PLL fractional bits width
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 21 Nov 2018 11:19:22 +0000 (12:19 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 27 Nov 2018 15:30:54 +0000 (16:30 +0100)
commit21310c39ec01e82ef3ef9bf8ac385b53ccdc158c
tree7e82c1ff4a5a3777eef87294635d348640f501d8
parenta7d19b05ce817d60ae672c4c112e77892978dc3c
clk: meson: Fix GXL HDMI PLL fractional bits width

The GXL Documentation specifies 12 bits for the Fractional bit field,
bit the last bits have a different purpose that we cannot handle right
now, so update the bitwidth to have correct fractional calculations.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: added comment on GXL HHI_HDMI_PLL_CNTL register shift]
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lkml.kernel.org/r/20181121111922.1277-1-narmstrong@baylibre.com
drivers/clk/meson/gxbb.c