aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/at91.h
diff options
context:
space:
mode:
authorGravatar Tudor Ambarus <tudor.ambarus@microchip.com> 2022-01-11 14:53:10 +0200
committerGravatar Stephen Boyd <sboyd@kernel.org> 2022-01-24 17:05:45 -0800
commita5ab04af49434aef532bf6cd4baa08a13665d608 (patch)
treee68e374078721df5838cae0f61a200aefaa95c15 /include/dt-bindings/clock/at91.h
parentclk: at91: allow setting PMC_AUDIOPINCK clock parents via DT (diff)
downloadlinux-a5ab04af49434aef532bf6cd4baa08a13665d608.tar.gz
linux-a5ab04af49434aef532bf6cd4baa08a13665d608.tar.bz2
linux-a5ab04af49434aef532bf6cd4baa08a13665d608.zip
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.h1
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 */