[PATCH v2 0/5] Support the required clocks to enable USB on SAM9X60
Eugen Hristev
eugen.hristev at collabora.com
Thu Mar 9 13:30:15 CET 2023
On 3/8/23 16:39, Claudiu Beznea wrote:
> 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.
>
> Changes in v2:
> - fix build error for sam9x60_curiosity_mmc1_defconfig
> - took over the upstream process from Sergiu
>
> 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_mmc1_defconfig | 1 +
> 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 +------
> 12 files changed, 308 insertions(+), 42 deletions(-)
> create mode 100644 drivers/clk/at91/clk-sam9x60-usb.c
>
Thank you Claudiu for resubmitting this series, I have collected a
branch with all the patches (USB , clocks and defconfigs), available here:
https://source.denx.de/u-boot/custodians/u-boot-at91/-/tree/testing
Eugen
More information about the U-Boot
mailing list