diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-01-11 15:53:10 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-01-25 04:05:45 +0300 |
commit | a5ab04af49434aef532bf6cd4baa08a13665d608 (patch) | |
tree | e68e374078721df5838cae0f61a200aefaa95c15 /include/dt-bindings/clock/at91.h | |
parent | ea2be22f3d37b1e77fbfe46cd6536eab667107ec (diff) | |
download | linux-a5ab04af49434aef532bf6cd4baa08a13665d608.tar.xz |
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>
Diffstat (limited to 'include/dt-bindings/clock/at91.h')
-rw-r--r-- | include/dt-bindings/clock/at91.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h index 573cf8c25eb4..3e3972a814c1 100644 --- a/include/dt-bindings/clock/at91.h +++ b/include/dt-bindings/clock/at91.h @@ -36,6 +36,7 @@ #define PMC_AUDIOIOPLL (PMC_MAIN + 7) #define PMC_ETHPLL (PMC_MAIN + 8) #define PMC_CPU (PMC_MAIN + 9) +#define PMC_MCK1 (PMC_MAIN + 10) #ifndef AT91_PMC_MOSCS #define AT91_PMC_MOSCS 0 /* MOSCS Flag */ |