summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-gpio-gate.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30clk: gpio-gate: Ensure gpiod_ APIs are prototypedMark Brown1-0/+1
The gpio-gate clock uses the gpiod_ APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly. Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-09-27clk: add gpio gated clockJyri Sarha1-0/+204
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>