clk: at91: add slow clks driver
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 7 May 2014 16:02:15 +0000 (18:02 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 7 May 2014 16:27:45 +0000 (18:27 +0200)
commit80eded6ce8bb8bade60955660c6957d6166c44c1
treeceb33e9008052db4f868374f5d179e1ff2f24d7c
parentf9e1716f919f1bce2749a3ec15f34759ded0a56d
clk: at91: add slow clks driver

AT91 slow clk is a clk multiplexer.

In some SoCs (sam9x5, sama5, sam9g45 families) this multiplexer can
choose among 2 sources: an internal RC oscillator circuit and an oscillator
using an external crystal.

In other Socs (sam9260 family) the multiplexer source is hardcoded with
the OSCSEL signal.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/clk/at91/Makefile
drivers/clk/at91/clk-slow.c [new file with mode: 0644]
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h
drivers/clk/at91/sckc.c [new file with mode: 0644]
drivers/clk/at91/sckc.h [new file with mode: 0644]
include/linux/clk/at91_pmc.h