[U-Boot] [PATCH v1 0/7] clk: at91: Improve the clock implementation

Wenyou Yang wenyou.yang at atmel.com
Tue Sep 13 03:54:42 CEST 2016


Add the clock ops for such as spi0_clk, which is the real clock
provider, instead of periph32ck, which only recursively bind its
children as clk devices. Also update the clocks called in the
drivers.


Wenyou Yang (7):
  clk: clk-uclass: Assign clk->dev before call .of_xlate
  clk: at91: Improve the clock implementation
  gpio: atmel_pio4: Remove unneccessary clock calling
  i2c: at91_i2c: Remove unneccessary clock calling
  i2c: at91_i2c: Change error return -ENODEV to -EINVAL
  usb: ehci-atmel: Remove unneccessary clock calling
  mmc: atmel_sdhci: Remove unneccessary clock calling

 drivers/clk/at91/clk-generated.c  | 141 ++++++++++++++++++++++++++++----------
 drivers/clk/at91/clk-peripheral.c | 139 ++++++++++++++++++++++++++++++-------
 drivers/clk/at91/clk-system.c     | 117 +++++++++++++++++++++++++------
 drivers/clk/at91/pmc.c            |  28 --------
 drivers/clk/at91/pmc.h            |   1 -
 drivers/clk/clk-uclass.c          |   3 +
 drivers/gpio/atmel_pio4.c         |  12 ----
 drivers/i2c/at91_i2c.c            |  18 +----
 drivers/mmc/atmel_sdhci.c         |  27 +-------
 drivers/usb/host/ehci-atmel.c     |  15 ----
 10 files changed, 322 insertions(+), 179 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list