clk: sunxi-ng: Add N-K-M-P factor clock
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 29 Jun 2016 19:05:33 +0000 (21:05 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Sat, 9 Jul 2016 01:05:06 +0000 (18:05 -0700)
commit4f728b5db7cb125af71e5da8154ac3b72653d819
treecf8883d002ee6d51f9558796ee471280407f7f5f
parentdf6561e60244c0283340286664b0baf67e846599
clk: sunxi-ng: Add N-K-M-P factor clock

Introduce support for clocks that use a combination of two linear
multipliers (N and K factors), one linear divider (M) and one power of two
divider (P).

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-13-maxime.ripard@free-electrons.com
drivers/clk/sunxi-ng/Kconfig
drivers/clk/sunxi-ng/Makefile
drivers/clk/sunxi-ng/ccu_nkmp.c [new file with mode: 0644]
drivers/clk/sunxi-ng/ccu_nkmp.h [new file with mode: 0644]