[U-Boot] [PATCH v2 00/10] zynq: clk: Move zynq platform to clock framework
stefan.herbrechtsmeier at weidmueller.com
stefan.herbrechtsmeier at weidmueller.com
Tue Jan 17 16:27:23 CET 2017
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
The old platform clock driver use a dynamic array which is filled at
every boot with static clock tree information and unused clock rates.
This needs much memory and complicates the strip down for the SPL.
The new clock framework driver contains the tree information in
functions and reads clock rates on demand.
This series depends on patch 'mmc: sdhci: Distinguish between base clock
and maximum peripheral frequency'
Changes in v2:
- Rebase
- Group ifndef CONFIG_SPL_BUILD inside switch case of zynq_clk_get_register()
- Put same switch case code together in zynq_clk_get_*_pll()
- Replace ZYNQ_CLKMUX_SEL_* by there numbers
- Return error code and add debug message for unknown gem eimo rx clock source
- Correct zynq_clk_calc_peripheral_two_divs() parameter indetation
- Add support for unknown clock rate to soc_clk_dump()
- Return a error and print a debug message if a gem emio rx clock
source is unknown
- Correct the checks for valid clock objects
- Add patch to determine base clock frequency of zynq mmc driver via
clock framework
- Add patch to add fdt max-frequency support to zynq mmc driver
Stefan Herbrechtsmeier (10):
net: zynq: Don't overwrite gem_rclk_ctrl with default value
net: zynq: Add clk framework support to zynq ethernet driver
zynq: Add clk framework support to zynq timer
zynq: Move static clock names into separate array
zynq: Remove zynq_clk_get_name function
clk: zynq: Add zynq clock framework driver
zynq: Move zynq to clock framework
clk: zynq: Add optional ethernet emio clock source support
mmc: zynq: Determine base clock frequency via clock framework
mmc: zynq: Add fdt max-frequency support
arch/arm/Kconfig | 3 +
arch/arm/dts/zynq-7000.dtsi | 2 +
arch/arm/include/asm/arch-zynqmp/sys_proto.h | 7 -
arch/arm/mach-zynq/clk.c | 690 +++------------------------
arch/arm/mach-zynq/cpu.c | 1 -
arch/arm/mach-zynq/include/mach/clk.h | 6 -
arch/arm/mach-zynq/include/mach/sys_proto.h | 1 -
arch/arm/mach-zynq/slcr.c | 29 --
arch/arm/mach-zynq/timer.c | 23 +
drivers/clk/Kconfig | 8 +
drivers/clk/Makefile | 1 +
drivers/clk/clk_zynq.c | 488 +++++++++++++++++++
drivers/mmc/zynq_sdhci.c | 33 +-
drivers/net/zynq_gem.c | 28 +-
drivers/serial/serial_zynq.c | 6 +-
include/configs/topic_miami.h | 2 -
include/configs/zynq_zybo.h | 3 -
scripts/config_whitelist.txt | 1 -
18 files changed, 634 insertions(+), 698 deletions(-)
create mode 100644 drivers/clk/clk_zynq.c
--
2.7.4
Kommanditgesellschaft - Sitz: Detmold - Amtsgericht Lemgo HRA 2790 -
Komplementärin: Weidmüller Interface Führungsgesellschaft mbH -
Sitz: Detmold - Amtsgericht Lemgo HRB 3924;
Geschäftsführer: José Carlos Álvarez Tobar, Elke Eckstein, Dr. Peter Köhler, Jörg Timmermann;
USt-ID-Nr. DE124599660
More information about the U-Boot
mailing list