* [PATCH 0/2] clk: Generalize clock_gate2 for use outside of imx
@ 2019-12-25 5:13 Sean Anderson
0 siblings, 0 replies; only message in thread
From: Sean Anderson @ 2019-12-25 5:13 UTC (permalink / raw)
To: u-boot
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%)
--
2.24.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-25 5:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-25 5:13 [PATCH 0/2] clk: Generalize clock_gate2 for use outside of imx Sean Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox