CLK: TI: add support for gate clock
authorTero Kristo <t-kristo@ti.com>
Tue, 18 Jun 2013 15:55:59 +0000 (18:55 +0300)
committerMike Turquette <mturquette@linaro.org>
Fri, 17 Jan 2014 20:35:10 +0000 (12:35 -0800)
commitf60b1ea5ea7ab1aee34a5ba55520b84b6e6d482e
treef7afada378e4ebac7fb02cd05adb653b4fec760d
parent1f847c65fd569c1d822800ba3e7e18c6411a7d50
CLK: TI: add support for gate clock

This patch adds support for TI specific gate clocks. These behave as basic
gate-clock, but have different ops / hw-ops for controlling the actual
gate, for example waiting until the clock is ready. Several sub-types
are supported:
- ti,gate-clock: basic gate clock with default ops/hwops
- ti,clkdm-gate-clock: clockdomain level gate control
- ti,dss-gate-clock: gate clock with DSS specific hardware handling
- ti,am35xx-gate-clock: gate clock with AM35xx specific hardware handling
- ti,hsdiv-gate-clock: gate clock with OMAP36xx hardware errata handling

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/ti/gate.txt [new file with mode: 0644]
drivers/clk/ti/Makefile
drivers/clk/ti/gate.c [new file with mode: 0644]
include/linux/clk/ti.h