clk: wm831x: Add initial WM831x clock driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 May 2012 09:04:57 +0000 (10:04 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 11 Jul 2012 22:36:44 +0000 (15:36 -0700)
commitf05259a6ffa40097b5565f25c3fcf833a9d3ecf5
tree7e690ed1971a4db7191f807ef8adde5ef324e7c7
parentdc4cd941c900fda27f0146ab615122426229de73
clk: wm831x: Add initial WM831x clock driver

The WM831x and WM832x series of PMICs contain a flexible clocking
subsystem intended to provide always on and system core clocks.  It
features:

- A 32.768kHz crystal oscillator which can optionally be used to pass
  through an externally generated clock.
- A FLL which can be clocked from either the 32.768kHz oscillator or
  the CLKIN pin.
- A CLKOUT pin which can bring out either the oscillator or the FLL
  output.
- The 32.768kHz clock can also optionally be brought out on the GPIO
  pins of the device.

This driver fully supports the 32.768kHz oscillator and CLKOUT.  The FLL
is supported only in AUTO mode, the full flexibility of the FLL cannot
currently be used.

Due to a lack of access to systems where the core SoC has been converted
to use the generic clock API this driver has been compile tested only.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
MAINTAINERS
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-wm831x.c [new file with mode: 0644]