ARM: at91: extend low level PMC driver for generic clk support
The SAMA5D2 and SAM9X60 both feature generic clocks, which we already
support in barebox proper, but not in PBL. Add PBL support for setting
the parent and enabling them, so we may use it to enable the SDMMC
peripherals in first stage.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 53d48be commit 666643cb2459390dfd0ed8f9fe5565d10b32806f
@Ahmad Fatoum Ahmad Fatoum authored on 1 Jul 2020
Sascha Hauer committed on 11 Jul 2020
Showing 3 changed files
View
arch/arm/mach-at91/at91_pmc_ll.c
View
arch/arm/mach-at91/include/mach/at91_pmc_ll.h
View
arch/arm/mach-at91/include/mach/sama5d2_ll.h