[U-Boot] [PATCH 0/8] zynq: clk: Move zynq platform to clock framework

stefan.herbrechtsmeier at weidmueller.com stefan.herbrechtsmeier at weidmueller.com
Wed Jan 4 13:27:16 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.


Stefan Herbrechtsmeier (8):
  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

 arch/arm/Kconfig                             |   2 +
 arch/arm/dts/zynq-7000.dtsi                  |   2 +
 arch/arm/include/asm/arch-zynqmp/sys_proto.h |   5 -
 arch/arm/mach-zynq/clk.c                     | 687 +++------------------------
 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                          |   7 +
 drivers/clk/Makefile                         |   1 +
 drivers/clk/clk_zynq.c                       | 499 +++++++++++++++++++
 drivers/net/zynq_gem.c                       |  27 +-
 drivers/serial/serial_zynq.c                 |   6 +-
 include/configs/topic_miami.h                |   2 -
 include/configs/zynq_zybo.h                  |   3 -
 scripts/config_whitelist.txt                 |   1 -
 17 files changed, 618 insertions(+), 684 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