]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c892d2d1602e31346a2f4c1817769d99fca3e6d
tree1e1929a448077687220fcc6799cddf83a1de0b50
parent676930c3644f9cc11b509d5b2a74ba30008692d4
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