devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Turquette <mturquette@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	devicetree-discuss@lists.ozlabs.org,
	"Heiko Stübner" <heiko@sntech.de>,
	"Matt Sealey" <neko@bakuhatsu.net>,
	"Stephen Boyd" <sboyd@codeaurora.org>,
	"Haojian Zhuang" <haojian.zhuang@linaro.org>,
	"Tero Kristo" <t-kristo@ti.com>,
	"Mike Turquette" <mturquette@linaro.org>
Subject: [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks
Date: Thu, 20 Jun 2013 23:14:11 -0700	[thread overview]
Message-ID: <1371795256-16703-1-git-send-email-mturquette@linaro.org> (raw)

This series introduces binding definitions for common register-mapped
clock multiplexer, divider and gate IP blocks along with the
corresponding setup functions for matching DT data.  The bindings are
similar to the struct definitions but please don't hold that against the
binding: the struct definitions closely model the hardware register
layout.

This version fixes bugs and incorporates support for the hiword-mask
property needed on Hisilicon and Rockchip platforms.

Tested on OMAP4460 Panda ES.

Mike Turquette (5):
  clk: divider: replace bitfield width with mask
  clk: of: helper for determining number of parent clocks
  clk: dt: binding for basic multiplexer clock
  clk: dt: binding for basic divider clock
  clk: dt: binding for basic gate clock

 .../devicetree/bindings/clock/divider-clock.txt    |  90 +++++++++++++++
 .../devicetree/bindings/clock/gate-clock.txt       |  36 ++++++
 .../devicetree/bindings/clock/mux-clock.txt        |  79 +++++++++++++
 arch/arm/mach-imx/clk-busy.c                       |   2 +-
 drivers/clk/clk-divider.c                          | 127 ++++++++++++++++++---
 drivers/clk/clk-gate.c                             |  43 +++++++
 drivers/clk/clk-mux.c                              |  65 ++++++++++-
 drivers/clk/clk.c                                  |   6 +
 drivers/clk/mxs/clk-div.c                          |   2 +-
 include/linux/clk-private.h                        |   2 +-
 include/linux/clk-provider.h                       |  12 +-
 11 files changed, 441 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/divider-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/gate-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/mux-clock.txt

-- 
1.8.1.2

             reply	other threads:[~2013-06-21  6:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21  6:14 Mike Turquette [this message]
2013-06-21  6:14 ` [PATCH v3 1/5] clk: divider: replace bitfield width with mask Mike Turquette
2013-06-21  6:14 ` [PATCH v3 3/5] clk: dt: binding for basic multiplexer clock Mike Turquette
2013-06-25  8:27   ` Haojian Zhuang
2013-06-25 17:40     ` Mike Turquette
2013-06-26  8:40   ` Mark Rutland
     [not found]     ` <20130626084058.GA10833-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-07-09 13:58       ` Mike Turquette
2013-06-21  6:14 ` [PATCH v3 4/5] clk: dt: binding for basic divider clock Mike Turquette
2013-06-21  6:14 ` [PATCH v3 5/5] clk: dt: binding for basic gate clock Mike Turquette
     [not found] ` <1371795256-16703-1-git-send-email-mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-06-21  6:14   ` [PATCH v3 2/5] clk: of: helper for determining number of parent clocks Mike Turquette
2013-06-22 17:04   ` [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks Heiko Stübner
2013-07-18 21:04   ` Stephen Boyd
2013-08-22  4:14     ` Mike Turquette
2013-08-23  4:32       ` Stephen Boyd
2013-08-23  6:54         ` Mike Turquette

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=1371795256-16703-1-git-send-email-mturquette@linaro.org \
    --to=mturquette@linaro.org \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=haojian.zhuang@linaro.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neko@bakuhatsu.net \
    --cc=sboyd@codeaurora.org \
    --cc=t-kristo@ti.com \
    /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;
as well as URLs for NNTP newsgroup(s).