Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH 00/15] tz1090: add clock components
@ 2014-11-19 23:15 James Hogan
  2014-11-19 23:15 ` [PATCH 01/15] clk: divider: replace bitfield width with mask James Hogan
  0 siblings, 1 reply; 4+ messages in thread
From: James Hogan @ 2014-11-19 23:15 UTC (permalink / raw)
  To: Mike Turquette, linux-metag, linux-kernel, devicetree
  Cc: James Hogan, Emilio López, Heiko Stuebner, Ian Campbell,
	Kumar Gala, Mark Rutland, Pawel Moll, Rob Herring, Sascha Hauer,
	Shawn Guo, Tero Kristo, linux-omap, linux-rockchip

This patchset adds common clock framework support for the TZ1090 SoC.

Patches 1 and 2 are generic and switch clk-divider to use masks
internally instead of shifts and width. Patch 1 came from Mike's divider
DT bindings patchset from a while back. This is required by the TZ1090
divider binding (patch 13).

Patches 3 to 14 add TZ1090 clock types and associated DT bindings,
specifically:
* PLLs (True Circuits, but TZ1090 specific register interface)
* Gate banks (a register containing clock gate bits)
* Mux banks (a register containing clock mux bits)
* Clock deleters (delete up to 1023 out of every 1024 clocks)
* PDC clock (combined divider and mux)
* Divider clock (pretty basic divider, but specific to TZ1090)

Finally patch 15 defines most of the TZ1090 clocks using these
components, with a few placeholders for less interesting clocks from
more complex components. This is mostly for reference to give an idea
how the clock components are intended to be used, and I'll take this one
through the metag tree when the drivers/clk/ stuff is accepted.

James Hogan (14):
  clk: divider: expose new clk_register_divider_mask
  dt: binding: add binding for tz1090-pll clock
  clk: tz1090: add PLL clock driver
  dt: binding: add binding for TZ1090 gate bank
  clk: tz1090: add gate bank clock driver
  dt: binding: add binding for TZ1090 mux bank
  clk: tz1090: add mux bank clock driver
  dt: binding: add binding for TZ1090 clock deleter
  clk: tz1090: add deleter clock driver
  dt: binding: add binding for TZ1090 PDC clock
  clk: tz1090: add PDC clock driver
  dt: binding: add binding for TZ1090 divider clock
  clk: tz1090: add divider clock driver
  metag: tz1090: add TZ1090 clocks to device tree

Mike Turquette (1):
  clk: divider: replace bitfield width with mask

 .../bindings/clock/img,tz1090-deleter.txt          |  40 ++
 .../bindings/clock/img,tz1090-divider.txt          |  37 +
 .../bindings/clock/img,tz1090-gate-bank.txt        |  52 ++
 .../bindings/clock/img,tz1090-mux-bank.txt         |  56 ++
 .../bindings/clock/img,tz1090-pdc-clock.txt        |  44 ++
 .../devicetree/bindings/clock/img,tz1090-pll.txt   |  33 +
 arch/arm/mach-imx/clk-busy.c                       |   2 +-
 arch/arm/mach-imx/clk-fixup-div.c                  |   2 +-
 arch/metag/Kconfig.soc                             |   1 +
 arch/metag/boot/dts/tz1090.dtsi                    |   4 +
 arch/metag/boot/dts/tz1090_clk.dtsi                | 784 +++++++++++++++++++++
 drivers/clk/Makefile                               |   1 +
 drivers/clk/clk-divider.c                          |  58 +-
 drivers/clk/mxs/clk-div.c                          |   2 +-
 drivers/clk/rockchip/clk.c                         |   2 +-
 drivers/clk/st/clk-flexgen.c                       |   4 +-
 drivers/clk/st/clkgen-mux.c                        |   4 +-
 drivers/clk/st/clkgen-pll.c                        |   2 +-
 drivers/clk/sunxi/clk-sunxi.c                      |   2 +-
 drivers/clk/ti/divider.c                           |   2 +-
 drivers/clk/tz1090/Makefile                        |   7 +
 drivers/clk/tz1090/clk-tz1090-deleter.c            | 188 +++++
 drivers/clk/tz1090/clk-tz1090-divider.c            |  96 +++
 drivers/clk/tz1090/clk-tz1090-gate-bank.c          | 199 ++++++
 drivers/clk/tz1090/clk-tz1090-mux-bank.c           | 191 +++++
 drivers/clk/tz1090/clk-tz1090-pdc.c                | 185 +++++
 drivers/clk/tz1090/clk-tz1090-pll.c                | 305 ++++++++
 include/linux/clk-private.h                        |   2 +-
 include/linux/clk-provider.h                       |   7 +-
 29 files changed, 2282 insertions(+), 30 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-deleter.txt
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-divider.txt
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-gate-bank.txt
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-mux-bank.txt
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-pdc-clock.txt
 create mode 100644 Documentation/devicetree/bindings/clock/img,tz1090-pll.txt
 create mode 100644 arch/metag/boot/dts/tz1090_clk.dtsi
 create mode 100644 drivers/clk/tz1090/Makefile
 create mode 100644 drivers/clk/tz1090/clk-tz1090-deleter.c
 create mode 100644 drivers/clk/tz1090/clk-tz1090-divider.c
 create mode 100644 drivers/clk/tz1090/clk-tz1090-gate-bank.c
 create mode 100644 drivers/clk/tz1090/clk-tz1090-mux-bank.c
 create mode 100644 drivers/clk/tz1090/clk-tz1090-pdc.c
 create mode 100644 drivers/clk/tz1090/clk-tz1090-pll.c

Cc: "Emilio López" <emilio@elopez.com.ar>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: linux-omap@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
-- 
2.0.4

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

end of thread, other threads:[~2014-11-20 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 23:15 [PATCH 00/15] tz1090: add clock components James Hogan
2014-11-19 23:15 ` [PATCH 01/15] clk: divider: replace bitfield width with mask James Hogan
     [not found]   ` <1416438943-11429-2-git-send-email-james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-20 11:19     ` Tero Kristo
     [not found]       ` <546DCE53.8020004-l0cyMroinI0@public.gmane.org>
2014-11-20 11:59         ` James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox