clk: ti: interface: add support for legacy interface clock init
authorTero Kristo <t-kristo@ti.com>
Tue, 16 Dec 2014 16:20:49 +0000 (18:20 +0200)
committerMichael Turquette <mturquette@linaro.org>
Fri, 30 Jan 2015 18:55:00 +0000 (10:55 -0800)
commit06524fa4289797deb9a66c1a3e681052eed0d83d
tree8af9e6d4ce571b62671ceaf663b8d59807b0fb4a
parentf187616b36edafff5a18d2b66fe7eed3bbb38bf0
clk: ti: interface: add support for legacy interface clock init

Legacy clock data is initialized slightly differently compared to
DT clocks, thus add support for this. The interface clock descriptor
itself is overloading the gate clock descriptor, thus it needs to
be called from the gate setup.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/ti/clock.h
drivers/clk/ti/gate.c
drivers/clk/ti/interface.c