clk: add gpio gated clock
authorJyri Sarha <jsarha@ti.com>
Fri, 5 Sep 2014 12:21:34 +0000 (15:21 +0300)
committerMike Turquette <mturquette@linaro.org>
Fri, 26 Sep 2014 23:51:42 +0000 (16:51 -0700)
commitc873d14d30b838a516a94967242322d4b73e79e7
tree2f9768c73c55c7667b93bca59eefb6dfd5af1f81
parentdb0bcc33a8aabab462c996baeac619f21616d938
clk: add gpio gated clock

The added gpio-gate-clock is a basic clock that can be enabled and
disabled trough a gpio output. The DT binding document for the clock
is also added. For EPROBE_DEFER handling the registering of the clock
has to be delayed until of_clk_get() call time.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/gpio-gate-clock.txt [new file with mode: 0644]
drivers/clk/Makefile
drivers/clk/clk-gpio-gate.c [new file with mode: 0644]
include/linux/clk-provider.h