summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-mux.c
Commit message (Collapse)AuthorAgeFilesLines
* clk: Add parent round/set rate for mux and gateSascha Hauer2014-03-281-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: clk-mux: pass clk flags from initializersSascha Hauer2014-03-281-3/+5
| | | | | | | struct clk has a flags field, let the clk-mux initializers set this field. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/clk/clk-mux.c: Fix sparse warningAlexander Shiyan2014-02-171-1/+1
| | | | | | | drivers/clk/clk-mux.c:53:16: warning: symbol 'clk_mux_ops' was not declared. Should it be static? Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: allow to instanciate clk mux without registering itLucas Stach2013-07-021-5/+24
| | | | | | | Allows to reuse clk mux code within other clocks. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: initial common clk supportSascha Hauer2012-10-041-0/+77
This adds barebox common clk support loosely based on the Kernel common clk support. differences are: - barebox does not need prepare/unprepare - no parent rate propagation for set_rate - struct clk is not really encapsulated from the drivers Along with the clk support we have support for some basic clk building blocks: - clk-fixed - clk-fixed-factor - clk-mux - clk-divider clk-fixed and clk-fixed-factor are completely generic, clk-mux and clk-divider are currently the way i.MX muxes/dividers are implemented. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>