aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@tuxon.dev>2024-08-26 20:31:14 +0300
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>2024-12-08 17:55:26 +0200
commitd87daa18535d38385f1da460c557c004e0b66347 (patch)
tree5e1cd691639257de8c2efc258c6402df151e6876
parentLinux 6.13-rc1 (diff)
downloadwireguard-linux-d87daa18535d38385f1da460c557c004e0b66347.tar.xz
wireguard-linux-d87daa18535d38385f1da460c557c004e0b66347.zip
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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240826173116.3628337-2-claudiu.beznea@tuxon.dev Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
-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 6ede88c3992d..99f4767ff6bb 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