]> 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)
commit55d7e80b23b159d877315689369643060af504ce
treee68e374078721df5838cae0f61a200aefaa95c15
parentc9813f400005b56822b31966aaa1bbba9f633dea
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