]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: st: Support for DIVMUX and PreDiv Clocks
authorGabriel FERNANDEZ <gabriel.fernandez@st.com>
Thu, 27 Feb 2014 15:24:14 +0000 (16:24 +0100)
committerMike Turquette <mturquette@linaro.org>
Tue, 25 Mar 2014 22:58:47 +0000 (15:58 -0700)
commit94885faf9dbcc2ca704d60e7db2f2b87e0b0fe6e
tree4036ede6776d2102505e207b68e42f008ef3f955
parentc646cbf10fb3347ecda290dfce96b813a423ca07
clk: st: Support for DIVMUX and PreDiv Clocks

The patch supports the DIVMUX and PreDiv clocks used by ClockGenA(s)

DIVMUX clock : Divider-Multiplexer-Gate inside ClockGenA(s)
It includes support for each channel : 3-parent Multiplexer,
Divider for each Parent, Gate to switch OFF the output channel. The
clock is implemented using generic clocks implemented in the kernel
clk_divider and clk_mux.

PreDiv clock : Fixed Divider Clock used inside ClockGenA(s) to divide
the oscillator clock by factor-of-16. The clock is implemented using
generic clocks implemented in the kernel clk_divider.

Signed-off-by: Pankaj Dev <pankaj.dev@st.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/Makefile
drivers/clk/st/Makefile [new file with mode: 0644]
drivers/clk/st/clkgen-mux.c [new file with mode: 0644]