summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* clk: Add support for shared gatesSascha Hauer2017-02-061-1/+2
| | | | | | | | | | | Sometimes a single software control knob controls multiple gates in hardware. This patch adds support for shared gates which help coping this situation. The first gate is registered with the hardware gate as usual, the others are registered as shared gates which does not have hardware control itself, but only switches the real hardware gate. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: Move clk code from 'mach-imx' to 'drivers'Andrey Smirnov2017-01-111-0/+1
| | | | | | | | | Move clk code from 'mach-imx' to 'drivers' to keep the code tree structure closer to that of analogous one from Linux kernel and, arguably although subjective, to keep 'mach-imx' less cluttered. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: Port of_clk_set_defaults()Andrey Smirnov2017-01-111-1/+1
| | | | | | | | Port of_clk_set_defautls() from Linux kernel in order to support DT configurations that require it (e. g. Vybrid). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* CLK: Add fractional divider clock support from Linux kernelAndrey Panov2015-03-051-1/+2
| | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* CLK: Add support for composite clock from Linux kernelAndrey Panov2015-03-051-1/+1
| | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: add rockchip clock gate driverBeniamino Galvani2014-04-291-0/+1
| | | | | Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mips'Sascha Hauer2014-04-041-0/+1
|\
| * clk: add Atheros AR933x driverAntony Pavlov2014-03-281-0/+1
| | | | | | | | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | clk: let clk-divider handle the table based divider aswellSascha Hauer2014-03-281-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: Add Altera SoCFPGA clk supportSascha Hauer2013-09-231-0/+1
| | | | | | | The SoCFPGA currently has all clocks described in the devicetree which makes common clock support a straight forward task. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: mvebu: add OF clock providers for Marvell MVEBU SoCsSebastian Hesselbarth2013-08-161-0/+1
| | | | | | | | | | This adds of_clk_providers for core clocks and clock gates found on Marvell MVEBU SoCs (Armada 370, Armada XP, Dove, and Kirkwood). It is based on Linux clock providers with clock flags removed, as they are not used on Barebox. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: add new clock framework driverLucas Stach2013-07-021-0/+1
| | | | | | | | | | | This removes the existing Tegra CAR driver and replaces it with code ported from the Linux clock framework. In the current state only the relevant PLLs are supported, but this is no functional regression from the existing code. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MXS: Add MXS specific clk typesSascha Hauer2013-06-201-0/+2
| | | | | | | | | | | MXS needs some special MXS specific clock types: - pll - ref (fractional divider) - busy divider (divider with additional busy bit to poll on a rate change) - lcdif (Combined clock out of a fractional divider, a divider and a gate. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: Add clk table based divider supportSascha Hauer2012-12-061-1/+1
| | | | | | For easy support of table based dividers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: Add clk gate supportSascha Hauer2012-10-101-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: initial common clk supportSascha Hauer2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* arm: move clkdev to drivers/clkJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+2
as refer in this patch "arm & sh: factorised duplicated clkdev.c" factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% in linux move it also as preparing for the SH adding Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>