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

Sean Anderson seanga2 at gmail.com
Sat Jan 21 21:55:46 CET 2023


On 12/23/22 07:33, Sergiu Moga 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.
> 
> 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
> 

Failing CI pipeline: https://source.denx.de/u-boot/custodians/u-boot-clk/-/jobs/559107

arm-linux-gnueabi-ld.bfd: drivers/clk/at91/sam9x60.o: in function `sam9x60_clk_probe':
drivers/clk/at91/sam9x60.c:595: undefined reference to `sam9x60_clk_register_usb'

--Sean


More information about the U-Boot mailing list