clk: at91: Add support for sam9x60 USB clock
authorSergiu Moga <sergiu.moga@microchip.com>
Wed, 8 Mar 2023 14:39:50 +0000 (16:39 +0200)
committerEugen Hristev <eugen.hristev@collabora.com>
Mon, 27 Mar 2023 11:27:37 +0000 (14:27 +0300)
commit0a0f0e737bcc58664164dc1c04886104d394918e
treeb85e744ebb560c61488975a4b4eb787c6528cc25
parentfde439219ff53a46bdd5dff69e049ccd4be57310
clk: at91: Add support for sam9x60 USB clock

Implement sam9x60 USB clock driver. This clock has
three parents: PLLA, UPLL and MAINXTAL. The driver is
aware of the three possible parents with the help of the
two mux tables provied to the driver during the registration
of the clock.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
drivers/clk/at91/Kconfig
drivers/clk/at91/Makefile
drivers/clk/at91/clk-sam9x60-usb.c [new file with mode: 0644]
drivers/clk/at91/pmc.h