linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks
@ 2013-08-22  5:53 Mike Turquette
  2013-08-22  5:53 ` [PATCH v4 1/5] clk: divider: replace bitfield width with mask Mike Turquette
                   ` (5 more replies)
  0 siblings, 6 replies; 30+ messages in thread
From: Mike Turquette @ 2013-08-22  5:53 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.

The delta from v3 is very small and only consists of cosmetic changes
and one functional change for better error handling.

Changes since v3:
* added Tested-by & Reviewed-by from Heiko
* replaced underscores with dashes in DT property names
* bail from of clock setup function early if of_iomap fails
* removed unecessary explict cast

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                          | 128 ++++++++++++++++++---
 drivers/clk/clk-gate.c                             |  47 ++++++++
 drivers/clk/clk-mux.c                              |  68 ++++++++++-
 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, 449 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] 30+ messages in thread

end of thread, other threads:[~2013-09-07 12:27 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22  5:53 [PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks Mike Turquette
2013-08-22  5:53 ` [PATCH v4 1/5] clk: divider: replace bitfield width with mask Mike Turquette
2013-08-22  5:53 ` [PATCH v4 2/5] clk: of: helper for determining number of parent clocks Mike Turquette
2013-08-22  5:53 ` [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock Mike Turquette
2013-08-28 15:50   ` Kumar Gala
2013-08-29  1:14     ` Mike Turquette
2013-08-29  6:58       ` Tero Kristo
2013-08-30  5:54         ` Tony Lindgren
2013-08-30 20:02       ` Kumar Gala
2013-08-30 20:33         ` Mike Turquette
2013-08-30 20:48           ` Kumar Gala
2013-08-30 21:37           ` Stephen Warren
2013-09-03 23:22             ` Mike Turquette
2013-09-04 18:36               ` Stephen Warren
2013-09-05 18:29                 ` Mike Turquette
2013-09-05 20:30                   ` Stephen Warren
2013-09-05 20:51                     ` Sylwester Nawrocki
2013-09-06  6:53                     ` Tero Kristo
2013-09-06 19:01                       ` Stephen Warren
2013-09-07  4:15                         ` Saravana Kannan
2013-09-07 12:27                         ` Tomasz Figa
2013-08-22  5:53 ` [PATCH v4 4/5] clk: dt: binding for basic divider clock Mike Turquette
2013-08-22  5:53 ` [PATCH v4 5/5] clk: dt: binding for basic gate clock Mike Turquette
2013-08-30  1:45   ` Haojian Zhuang
2013-08-30 20:06     ` Stephen Warren
2013-09-04  3:03       ` Haojian Zhuang
2013-09-04 17:59         ` Tony Lindgren
2013-09-07 11:56           ` Tomasz Figa
2013-08-29 18:23 ` [PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks Santosh Shilimkar
2013-08-30  7:05   ` Tero Kristo

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