u-boot-brain/drivers/clk
Lukasz Majewski 1d7993d1d0 clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12)
This patch brings the files from Linux kernel (linux-stable/linux-5.1.y
SHA1: 5752b50477da)to provide clocks support as it is used on the Linux
kernel with Common Clock Framework [CCF] setup.

The directory structure has been preserved. The ported code only supports
reading information from PLL, MUX, Divider, etc and enabling/disabling
the clocks USDHCx/ECSPIx depending on used bus. Moreover, it is agnostic
to the alias numbering as the information about the clock is read from the
device tree.

One needs to pay attention to the comments indicating necessary for U-Boot's
driver model changes.

If needed, the code can be extended to support the "set" part of the clock
management.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2019-07-19 14:50:30 +02:00
..
altera clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc 2019-04-11 20:10:05 -06:00
aspeed aspeed: ast2500: fix D2-PLL clock setting in RGMII mode 2018-11-05 10:41:58 -06:00
at91 clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc 2019-04-11 20:10:05 -06:00
exynos clk: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
imx clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
mediatek clk: mediatek: add driver for MT8516 2019-04-23 17:57:26 -04:00
meson clk: meson-g12a: Add PCIE PLL support 2019-05-31 09:57:49 +02:00
mvebu clk: armada-37xx-periph: Support changing clock parent and rate 2018-09-19 08:59:26 +02:00
owl clk: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
renesas clk: renesas: Synchronize Gen3 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
rockchip rockchip: clk: rk3399: allow requests for all UART clocks 2019-05-30 18:22:35 +08:00
sifive clk: sifive: Add clock driver for GEMGXL MGMT 2019-06-01 13:33:17 -05:00
sunxi sunxi: clocks: Add H6 USB clock gates and resets 2019-07-16 17:13:15 +05:30
tegra drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
uniphier clk: uniphier: add EMMC clock for LD11, LD20, and PXs3 2019-07-10 22:41:55 +09:00
clk_bcm6345.c clk: bcm6345: convert to use live dt 2018-06-01 15:56:02 +02:00
clk_boston.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk_fixed_factor.c clk: Remove clock ID check in .get_rate() of clk_fixed_* 2019-07-19 14:50:30 +02:00
clk_fixed_rate.c clk: Provide struct clk for fixed rate clock (clk_fixed_rate.c) 2019-07-19 14:50:30 +02:00
clk_pic32.c clk: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
clk_sandbox_test.c clk: add clk_valid() 2018-08-03 19:53:10 -04:00
clk_sandbox.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk_stm32f.c clk: clk_stm32f: Use PLLSAIP as USB 48MHz clock 2018-05-08 09:07:34 -04:00
clk_stm32h7.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk_stm32mp1.c clk: clk_stm32mp1: Fix warnings when compiling with W=1 2019-07-12 11:50:55 +02:00
clk_vexpress_osc.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
clk_zynq.c ARM: zynq: Add missing i2c get_rate for fixing i2c SPL 2019-04-16 11:51:34 +02:00
clk_zynqmp.c clk: zynqmp: Fixed the same if/else part error reported by coverity 2018-07-19 10:49:53 +02:00
clk-divider.c clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
clk-fixed-factor.c clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
clk-hsdk-cgu.c Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR 2018-04-27 14:54:48 -04:00
clk-mux.c clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
clk-ti-sci.c clk: Introduce TI System Control Interface (TI SCI) clock driver 2018-09-11 08:32:55 -04:00
clk-uclass.c dm: clk: Define clk_get_by_id() for clk operations 2019-07-19 14:50:30 +02:00
clk.c clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
ics8n3qv01.c clk: Add ICS8N3QV01 driver 2018-05-08 18:50:23 -04:00
Kconfig clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
Makefile clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) 2019-07-19 14:50:30 +02:00
mpc83xx_clk.c mpc83xx_clk: Add enable method 2019-05-21 07:52:34 +02:00
mpc83xx_clk.h clk: Add MPC83xx clock driver 2018-09-18 00:01:18 -06:00