OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:58 +0000 (08:51 +0100)
commit0dcdd33f8e13380b11965491bdefc29eca3f69ec
tree42eda64aa3c7d047fa79f601a9c4d345c35d8eee
parenta976029de2525fe3a06776f4bb3d62f2c2936d17
clk: meson: Fix GXL HDMI PLL fractional bits width

[ Upstream commit 21310c39ec01e82ef3ef9bf8ac385b53ccdc158c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/meson/gxbb.c