]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78f4e6ef1637c27384434f068add05f19d2bc120
treee68e374078721df5838cae0f61a200aefaa95c15
parenteffeb2cb1b4a452ac945152c6d07d44c27d07805
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