aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarshini Rajendran <[email protected]>2024-07-29 12:38:03 +0530
committerClaudiu Beznea <[email protected]>2024-08-07 19:16:47 +0300
commit3dc73106ffc47640e692b9b32ebfd59d776c07fd (patch)
tree5041c91ce2445d578e40c23340331332694d13ca
parent5bf194adedb921f87fb7c9c59c590b802458bccc (diff)
dt-bindings: clock: at91: Allow PLLs to be exported and referenced in DT
Allow PLLADIV2 and LVDSPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT for sam9x7 SoC family. Signed-off-by: Varshini Rajendran <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Claudiu Beznea <[email protected]>
-rw-r--r--include/dt-bindings/clock/at91.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h
index 3e3972a814c1..6ede88c3992d 100644
--- a/include/dt-bindings/clock/at91.h
+++ b/include/dt-bindings/clock/at91.h
@@ -38,6 +38,10 @@
#define PMC_CPU (PMC_MAIN + 9)
#define PMC_MCK1 (PMC_MAIN + 10)
+/* SAM9X7 */
+#define PMC_PLLADIV2 (PMC_MAIN + 11)
+#define PMC_LVDSPLL (PMC_MAIN + 12)
+
#ifndef AT91_PMC_MOSCS
#define AT91_PMC_MOSCS 0 /* MOSCS Flag */
#define AT91_PMC_LOCKA 1 /* PLLA Lock */