SPEAr: clk: Add Auxiliary Synthesizer clock
authorViresh Kumar <viresh.kumar@st.com>
Wed, 11 Apr 2012 12:34:23 +0000 (18:04 +0530)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 May 2012 19:19:26 +0000 (21:19 +0200)
commit5335a639ecc5646cbe8e99086fb7e743b801ac58
tree812d38780a2eecf385e5f42a4ee3808aa3a85da3
parent55b8fd4f428501b0f35d62b8313311fd9863c188
SPEAr: clk: Add Auxiliary Synthesizer clock

All SPEAr SoC's contain Auxiliary Synthesizers. Their Fout is derived based on
values of eq, x and y.

Fout from synthesizer can be given from two equations:
Fout1 = (Fin * X/Y)/2 EQ1
Fout2 = Fin * X/Y EQ2

This patch adds in support for this type of clock.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/spear/Makefile
drivers/clk/spear/clk-aux-synth.c [new file with mode: 0644]
drivers/clk/spear/clk.h