Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+4
+4
include/dt-bindings/clock/at91.h
··· 55 55 #define AT91_PMC_GCKRDY 24 /* Generated Clocks */ 56 56 #endif 57 57 58 + /* Slow clock. */ 59 + #define SCKC_MD_SLCK 0 60 + #define SCKC_TD_SLCK 1 61 + 58 62 #endif