public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/2] clk: Generalize clock_gate2 for use outside of imx
Date: Wed, 25 Dec 2019 00:13:42 -0500	[thread overview]
Message-ID: <0e4a9520-e210-a313-c8ee-c6f24228f723@gmail.com> (raw)

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

                 reply	other threads:[~2019-12-25  5:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e4a9520-e210-a313-c8ee-c6f24228f723@gmail.com \
    --to=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox