clk: mvebu: add clock gating control provider for DT
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 17 Nov 2012 14:22:26 +0000 (15:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 13:43:24 +0000 (14:43 +0100)
commitf97d0d7aa8f8cec29a24d65afa12a777c6d2a2f1
tree96b8ae53f370882f4e399f9da657e78eb388a505
parentab8ba01b3fe5e0b81bd2da0afe66f7f6968e017b
clk: mvebu: add clock gating control provider for DT

This driver allows to provide DT clocks for clock gates found on
Marvell Dove and Kirkwood SoCs. The clock gates are referenced by
the phandle index of the corresponding bit in the clock gating control
register to ease lookup in the datasheet.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt [new file with mode: 0644]
drivers/clk/mvebu/Kconfig
drivers/clk/mvebu/Makefile
drivers/clk/mvebu/clk-gating-ctrl.c [new file with mode: 0644]
drivers/clk/mvebu/clk-gating-ctrl.h [new file with mode: 0644]
drivers/clk/mvebu/clk.c