linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks
@ 2013-06-21  6:14 Mike Turquette
  2013-06-21  6:14 ` [PATCH v3 1/5] clk: divider: replace bitfield width with mask Mike Turquette
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Mike Turquette @ 2013-06-21  6:14 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-08-23  6:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21  6:14 [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks Mike Turquette
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 2/5] clk: of: helper for determining number of parent clocks 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
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
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

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).