Skip to content

Support the required clocks to enable USB on SAM9X60

Sergiu Moga u-boot 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5clk: at91: Add support for sam9x60 USB clockdrivers/clk/at91/Kconfig drivers/clk/at91/Makefile drivers/clk/at91/clk-sam9x60-usb.c +1 more+176 -01 reply
2/5clk: at91: sam9x60: Register the required clocks for USBdrivers/clk/at91/sam9x60.c+33 -01 reply
3/5clk: at91: pmc: export clock setup to pmcdrivers/clk/at91/pmc.c drivers/clk/at91/pmc.h drivers/clk/at91/sama7g5.c+64 -420 replies
4/5clk: at91: sam9x60: Add initial setup of UPLL and USBCK ratesdrivers/clk/at91/sam9x60.c+30 -01 reply
5/5configs: at91: sam9x60: Add required configs for the USB clockconfigs/sam9x60_curiosity_mmc_defconfig configs/sam9x60ek_mmc_defconfig configs/sam9x60ek_nandflash_defconfig +1 more+4 -01 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchClaudiu Beznea
1/5R-b
2/5R-b
3/5
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 1 line
2.34.1