clk: sunxi-ng: Add divider
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 29 Jun 2016 19:05:28 +0000 (21:05 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Sat, 9 Jul 2016 01:04:48 +0000 (18:04 -0700)
commite9b93213103fd442ed72802a1c3869f0939c3705
treef49f326aeda86250f2142819612bcb8528b72b3c
parent6f9f7f876ec050ae1c352a6561616fee050dfc42
clk: sunxi-ng: Add divider

Add support for the various dividers (linear, table or pow-of-two based)
found in the CCU.

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