[PATCH 0/2] clk: Generalize clock_gate2 for use outside of imx

I'm implementing a clock device and I would like to use the clock_gate2 from imx. This patch series adapts it to general use. An alternative is to use the composite clock, but it is unsuitable for clocks with no mux. I have a patch to adapt the composite to work without muxes (which will be sent next), but I figured this might be useful on its own.
Sean Anderson (2): clk: Move clk-gate2 to clock driver directory clk: Add option to restrict clk-gate2 to one bit toggle
drivers/clk/Makefile | 1 + drivers/clk/{imx => }/clk-gate2.c | 33 +++++++++++++------------------ drivers/clk/imx/Makefile | 2 +- drivers/clk/imx/clk.h | 5 ----- include/linux/clk-provider.h | 26 ++++++++++++++++++++---- 5 files changed, 38 insertions(+), 29 deletions(-) rename drivers/clk/{imx => }/clk-gate2.c (81%)
participants (1)
-
Sean Anderson