]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: Add a simple gates driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 31 Jul 2015 17:46:22 +0000 (19:46 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 12 Aug 2015 07:59:15 +0000 (00:59 -0700)
commitae5abcbe7ed956639a64ef995b052e45d9b596d3
tree0c999c9deecd2820833ade80806e9608e9d57be3
parentdafb9643ffdc37feae61341c51bc493c0c63e7a4
clk: sunxi: Add a simple gates driver

The gates were handled with a common piece of framework that was
registering all gates array, that was not using the CLK_OF_DECLARE logic,
and was not using clock-indices but some private masks that were pretty
much equivalent.

Move this code in a new driver that handles all the gates array and solves
both these issues.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
[sboyd@codeaurora.org: Include clk.h for consumer API usage]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi/Makefile
drivers/clk/sunxi/clk-simple-gates.c [new file with mode: 0644]
drivers/clk/sunxi/clk-sunxi.c