[PATCH 0/5] Support the required clocks to enable USB on SAM9X60

Sergiu Moga sergiu.moga at microchip.com
Fri Dec 23 13:33:09 CET 2022


This patch series originates from a bigger patch series:
https://lists.denx.de/pipermail/u-boot/2022-December/502865.html

A driver for clock operations on SAM9X60's USB clock has been added as
well as its registration on CCF. In order for USB to work properly, the
UPLL and USBCK need an initial frequency before probing the OHCI/EHCI
driver. Furthermore enable this driver in the defconfigs.

Claudiu Beznea (1):
  clk: at91: pmc: export clock setup to pmc

Sergiu Moga (4):
  clk: at91: Add support for sam9x60 USB clock
  clk: at91: sam9x60: Register the required clocks for USB
  clk: at91: sam9x60: Add initial setup of UPLL and USBCK rates
  configs: at91: sam9x60: Add required configs for the USB clock

 configs/sam9x60_curiosity_mmc_defconfig |   1 +
 configs/sam9x60ek_mmc_defconfig         |   1 +
 configs/sam9x60ek_nandflash_defconfig   |   1 +
 configs/sam9x60ek_qspiflash_defconfig   |   1 +
 drivers/clk/at91/Kconfig                |   7 ++
 drivers/clk/at91/Makefile               |   1 +
 drivers/clk/at91/clk-sam9x60-usb.c      | 157 ++++++++++++++++++++++++
 drivers/clk/at91/pmc.c                  |  42 +++++++
 drivers/clk/at91/pmc.h                  |  27 ++++
 drivers/clk/at91/sam9x60.c              |  63 ++++++++++
 drivers/clk/at91/sama7g5.c              |  48 +-------
 11 files changed, 307 insertions(+), 42 deletions(-)
 create mode 100644 drivers/clk/at91/clk-sam9x60-usb.c

-- 
2.34.1



More information about the U-Boot mailing list