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

clk: add DT bindings header for Gemini clock controller

This adds the DT binding macros used by the clock controller.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Linus Walleij and committed by
Stephen Boyd
8b979d62 d8e349af

+29
+29
include/dt-bindings/clock/cortina,gemini-clock.h
··· 1 + #ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 2 + #define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H 3 + 4 + /* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */ 5 + #define GEMINI_NUM_CLKS 20 6 + 7 + #define GEMINI_CLK_RTC 0 8 + #define GEMINI_CLK_AHB 1 9 + #define GEMINI_CLK_APB 2 10 + #define GEMINI_CLK_CPU 3 11 + #define GEMINI_CLK_PCI 4 12 + #define GEMINI_CLK_TVC 5 13 + #define GEMINI_CLK_UART 6 14 + #define GEMINI_CLK_GATES 7 15 + #define GEMINI_CLK_GATE_SECURITY 7 16 + #define GEMINI_CLK_GATE_GMAC0 8 17 + #define GEMINI_CLK_GATE_GMAC1 9 18 + #define GEMINI_CLK_GATE_SATA0 10 19 + #define GEMINI_CLK_GATE_SATA1 11 20 + #define GEMINI_CLK_GATE_USB0 12 21 + #define GEMINI_CLK_GATE_USB1 13 22 + #define GEMINI_CLK_GATE_IDE 14 23 + #define GEMINI_CLK_GATE_PCI 15 24 + #define GEMINI_CLK_GATE_DDR 16 25 + #define GEMINI_CLK_GATE_FLASH 17 26 + #define GEMINI_CLK_GATE_TVC 18 27 + #define GEMINI_CLK_GATE_BOOT 19 28 + 29 + #endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */