clk: at91: pmc: export clock setup to pmc
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 8 Mar 2023 14:39:52 +0000 (16:39 +0200)
committerEugen Hristev <eugen.hristev@collabora.com>
Mon, 27 Mar 2023 11:27:37 +0000 (14:27 +0300)
commit248e41002b0424f098d8776718b80669a3759e87
treef803bcce6db4e828e5939a097033f22a88aff53b
parentc88a925a3a58356869199381288e7ecc11a87b26
clk: at91: pmc: export clock setup to pmc

Clock setup was intended for setting clocks at boot time on SAMA7G5,
e.g. for root clocks like PLLs, that were used to feed IPs needed alive
in u-boot (e.g. Ethernet clock feed by a PLL). Export this functionality
to all at91 clocks as it may be necessary on other SoCs.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h
drivers/clk/at91/sama7g5.c