Commit d87daa18 authored by Claudiu Beznea's avatar Claudiu Beznea
Browse files

dt-bindings: clk: at91: Add clock IDs for the slow clock controller



Add clock IDs for the slow clock controller. Previously, raw numbers
were used (0 or 1) for clocks generated by the slow clock controller. This
leads to confusion and wrong IDs were used on few device trees. To avoid
this add macros.

Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240826173116.3628337-2-claudiu.beznea@tuxon.dev


Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
parent 40384c84
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -55,4 +55,8 @@
#define AT91_PMC_GCKRDY		24		/* Generated Clocks */
#endif

/* Slow clock. */
#define SCKC_MD_SLCK		0
#define SCKC_TD_SLCK		1

#endif