clk: sunxi-ng: Implement multiplier maximum
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 14 Oct 2016 10:08:19 +0000 (12:08 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jan 2017 10:45:01 +0000 (11:45 +0100)
commit0c3c8e135897eb8e896a0bb82a5aff6c9bc158cc
tree1ee8199653ceeccb7954da33a2b36d740f12269b
parentc9520be3839063bbb50aabec531cc0d0b8595564
clk: sunxi-ng: Implement multiplier maximum

Some multipliers have a maximum rate that is lower than what the register
width allows to. Add a field in the multiplier structure to allow CCU
driver to set that maximum.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_mult.c
drivers/clk/sunxi-ng/ccu_mult.h
drivers/clk/sunxi-ng/ccu_nk.c
drivers/clk/sunxi-ng/ccu_nkm.c
drivers/clk/sunxi-ng/ccu_nkmp.c
drivers/clk/sunxi-ng/ccu_nm.c