clk: sunxi-ng: Add fractional lib
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 29 Jun 2016 19:05:24 +0000 (21:05 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Sat, 9 Jul 2016 01:04:35 +0000 (18:04 -0700)
commit89a3dfb787072438f72de95ff3fe7b58213e08c1
treedaf43053478fb5cf05282b4fbfd534dc083d66a3
parent1d80c14248d6082c91a8a9e3d70cc94c3cc18ecb
clk: sunxi-ng: Add fractional lib

Some clocks can be switched to a mode called fractional that have two fixed
output rate you can choose from.

Add a small library to deal with those clocks.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20160629190535.11855-4-maxime.ripard@free-electrons.com
drivers/clk/sunxi-ng/Kconfig
drivers/clk/sunxi-ng/Makefile
drivers/clk/sunxi-ng/ccu_frac.c [new file with mode: 0644]
drivers/clk/sunxi-ng/ccu_frac.h [new file with mode: 0644]