clk: at91: sama7g5: Allow MCK1 to be exported and referenced in DT
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 11 Jan 2022 12:53:10 +0000 (14:53 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jan 2022 01:05:45 +0000 (17:05 -0800)
commita5ab04af49434aef532bf6cd4baa08a13665d608
treee68e374078721df5838cae0f61a200aefaa95c15
parentea2be22f3d37b1e77fbfe46cd6536eab667107ec
clk: at91: sama7g5: Allow MCK1 to be exported and referenced in DT

MCK1 feeds the External Bus Interface (EBI). EBI's clock rate is used
to translate EBI's timmings to SMC timings, thus we need to handle MCK1
in the EBI driver. Allow MCK1 to be referenced as a PMC_TYPE_CORE clock
from phandle in DT.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20220111125310.902856-1-tudor.ambarus@microchip.com
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sama7g5.c
include/dt-bindings/clock/at91.h