dt-bindings: clock: at91: Allow PLLs to be exported and referenced in DT
authorVarshini Rajendran <varshini.rajendran@microchip.com>
Mon, 29 Jul 2024 07:08:03 +0000 (12:38 +0530)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Wed, 7 Aug 2024 16:16:47 +0000 (19:16 +0300)
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 <varshini.rajendran@microchip.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20240729070803.1990916-1-varshini.rajendran@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
include/dt-bindings/clock/at91.h

index 3e3972a..6ede88c 100644 (file)
 #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 */