aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2020-05-05 00:37:57 +0200
committerStephen Boyd <sboyd@kernel.org>2020-05-26 20:22:50 -0700
commit03a1ee1dad0e39390ca397fff0cf84a3b1de1beb (patch)
treef70c53397ee29abdabad6bc8902d02805d8c6952 /include/dt-bindings
parentclk: at91: allow setting PCKx parent via DT (diff)
downloadwireguard-linux-03a1ee1dad0e39390ca397fff0cf84a3b1de1beb.tar.xz
wireguard-linux-03a1ee1dad0e39390ca397fff0cf84a3b1de1beb.zip
clk: at91: allow setting all PMC clock parents via DT
We need to have clocks accessible via phandle to select them as peripheral clock parent using assigned-clock-parents in DT. Add support for PLLACK/PLLBCK/AUDIOPLLCK clocks where available. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lkml.kernel.org/r/fa39cc10dab8341ea4bc2b7152be9217b2cd34a5.1588630999.git.mirq-linux@rere.qmqm.pl Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/at91.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h
index c3f4aa6a2d29..eba17106608b 100644
--- a/include/dt-bindings/clock/at91.h
+++ b/include/dt-bindings/clock/at91.h
@@ -21,6 +21,9 @@
#define PMC_MCK2 4
#define PMC_I2S0_MUX 5
#define PMC_I2S1_MUX 6
+#define PMC_PLLACK 7
+#define PMC_PLLBCK 8
+#define PMC_AUDIOPLLCK 9
#ifndef AT91_PMC_MOSCS
#define AT91_PMC_MOSCS 0 /* MOSCS Flag */