]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc724d185cd1af50c56caac6c3dd7cb3cc262cfa4
tree96b8ae53f370882f4e399f9da657e78eb388a505
parent40924bd2eb9a6dcbf547a1fd161993f9928819ba
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