All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Clk drivers for NXP LPC18xx family
@ 2015-04-27 21:38 ` Joachim Eastwood
  0 siblings, 0 replies; 39+ messages in thread
From: Joachim Eastwood @ 2015-04-27 21:38 UTC (permalink / raw)
  To: mturquette-QSEj5FYQhm4dnm+yROfE0A, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
	arnd-r2nGTMty4D4, linux-clk-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	ariel.dalessandro-Re5JQEeQqe8AvxtiuMwx3w,
	ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ, Joachim Eastwood

This patch set adds support for the two main clock peripherals in the
LPC18xx/43xx MCU family.

The Clock Generation Unit (CGU) is the base source of all clocks. It has
five external inputs and contains PLLs, dividers and muxes. The outputs
from the CGU are then routed to a Clock Control Unit (CCU) and a few
peripherals directly. There are two CCUs in the MCU. The CCU is a
collection of gates and a few dividers that sits between the CGU and
most of the peripherals.

Which clocks that are available depends on the specific device and it's
peripherals. It's possible in DT to setup the routing between the CGU
and the CCUs.

Changes since v1:
 - reorganize cgu clk structs
 - macros to create cgu clk structs
 - move drivers to nxp subdir
 - rebase on v4.1-rc1

Since there were no comments on v1. I hope that these drivers can
make it to Linux 4.1.

There are no dependencies in this patch set. The DTS changes will
be sent separately to arm-soc once this patch set goes upstream.

See the base support patch set for LPC18xx here:
http://marc.info/?l=linux-arm-kernel&m=143016894704253&w=2

Joachim Eastwood (4):
  clk: add lpc18xx cgu clk driver
  doc: dt: add documentation for lpc1850-cgu clk driver
  clk: add lpc18xx ccu clk driver
  doc: dt: add documentation for lpc1850-ccu clk driver

 .../devicetree/bindings/clock/lpc1850-ccu.txt      | 146 +++++
 .../devicetree/bindings/clock/lpc1850-cgu.txt      | 138 +++++
 drivers/clk/Makefile                               |   1 +
 drivers/clk/nxp/Makefile                           |   2 +
 drivers/clk/nxp/clk-lpc18xx-ccu.c                  | 318 +++++++++++
 drivers/clk/nxp/clk-lpc18xx-cgu.c                  | 628 +++++++++++++++++++++
 include/dt-bindings/clock/lpc18xx-ccu.h            |  74 +++
 include/dt-bindings/clock/lpc18xx-cgu.h            |  41 ++
 8 files changed, 1348 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/lpc1850-ccu.txt
 create mode 100644 Documentation/devicetree/bindings/clock/lpc1850-cgu.txt
 create mode 100644 drivers/clk/nxp/Makefile
 create mode 100644 drivers/clk/nxp/clk-lpc18xx-ccu.c
 create mode 100644 drivers/clk/nxp/clk-lpc18xx-cgu.c
 create mode 100644 include/dt-bindings/clock/lpc18xx-ccu.h
 create mode 100644 include/dt-bindings/clock/lpc18xx-cgu.h

-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-05-21 22:21 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 21:38 [PATCH v2 0/4] Clk drivers for NXP LPC18xx family Joachim Eastwood
2015-04-27 21:38 ` Joachim Eastwood
2015-04-27 21:38 ` Joachim Eastwood
     [not found] ` <1430170693-28303-1-git-send-email-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-27 21:38   ` [PATCH v2 1/4] clk: add lpc18xx cgu clk driver Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-04-27 21:38   ` [PATCH v2 2/4] doc: dt: add documentation for lpc1850-cgu " Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
     [not found]     ` <1430170693-28303-3-git-send-email-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 22:12       ` Michael Turquette
2015-05-12 22:12         ` Michael Turquette
2015-05-12 22:12         ` Michael Turquette
2015-05-13  7:57         ` Joachim Eastwood
2015-05-13  7:57           ` Joachim Eastwood
2015-05-13  7:57           ` Joachim Eastwood
2015-05-21 21:17           ` Michael Turquette
2015-05-21 21:17             ` Michael Turquette
2015-05-21 21:17             ` Michael Turquette
2015-05-21 22:21             ` Joachim Eastwood
2015-05-21 22:21               ` Joachim Eastwood
2015-05-21 22:21               ` Joachim Eastwood
2015-04-27 21:38   ` [PATCH v2 3/4] clk: add lpc18xx ccu " Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
     [not found]     ` <1430170693-28303-4-git-send-email-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 22:32       ` Michael Turquette
2015-05-12 22:32         ` Michael Turquette
2015-05-12 22:32         ` Michael Turquette
2015-05-13  8:09         ` Joachim Eastwood
2015-05-13  8:09           ` Joachim Eastwood
2015-05-13  8:09           ` Joachim Eastwood
2015-04-27 21:38   ` [PATCH v2 4/4] doc: dt: add documentation for lpc1850-ccu " Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-04-27 21:38     ` Joachim Eastwood
2015-05-12 22:31   ` [PATCH v2 0/4] Clk drivers for NXP LPC18xx family Stephen Boyd
2015-05-12 22:31     ` Stephen Boyd
2015-05-12 22:31     ` Stephen Boyd
     [not found]     ` <20150512223126.GA14873-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-05-13  6:56       ` Joachim Eastwood
2015-05-13  6:56         ` Joachim Eastwood
2015-05-13  6:56         ` Joachim Eastwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.