From: Claudiu Beznea Date: Mon, 26 Aug 2024 17:31:14 +0000 (+0300) Subject: dt-bindings: clk: at91: Add clock IDs for the slow clock controller X-Git-Tag: v6.14-rc1~150^2~2^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d87daa18535d38385f1da460c557c004e0b66347;p=thirdparty%2Fkernel%2Flinux.git 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: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20240826173116.3628337-2-claudiu.beznea@tuxon.dev Signed-off-by: Claudiu Beznea --- diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h index 6ede88c3992d1..99f4767ff6bb4 100644 --- a/include/dt-bindings/clock/at91.h +++ b/include/dt-bindings/clock/at91.h @@ -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