clk: axi-clkgen: Set power bits for fractional mode
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 1 Oct 2020 08:59:48 +0000 (11:59 +0300)
committerStephen Boyd <sboyd@kernel.org>
Wed, 14 Oct 2020 02:44:40 +0000 (19:44 -0700)
commita3947209d380cfcbd081597954fe6ee254e9681f
tree1e1929a448077687220fcc6799cddf83a1de0b50
parent86378cf646d323d0ce0ac734d444f4d80fd9e43f
clk: axi-clkgen: Set power bits for fractional mode

Using the fractional dividers requires some additional power bits to be
set.

The fractional power bits are not documented and the current heuristic
for setting them seems be insufficient for some cases. Just always set all
the fractional power bits when in fractional mode.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201001085948.21412-2-alexandru.ardelean@analog.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-axi-clkgen.c