diff options
| author | Alexander Shiyan <shc_work@mail.ru> | 2014-07-13 00:37:52 -0400 |
|---|---|---|
| committer | Mike Turquette <mturquette@linaro.org> | 2014-07-29 02:30:46 -0400 |
| commit | 631c53478973d2de299d02de83eb9fa8a0cbc3b1 (patch) | |
| tree | 0eeeb8500a2a126888d19dc3cf6a3bbd75547287 /include/dt-bindings | |
| parent | eee40bb4337c0c4e683ef16e5cc3ad1f784b6fde (diff) | |
clk: Add CLPS711X clk driver
This adds the clock driver for Cirrus Logic CLPS711X series SoCs
using common clock infrastructure.
Designed primarily for migration CLPS711X subarch for multiplatform & DT,
for this as the "OF" and "non-OF" calls implemented.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/dt-bindings')
| -rw-r--r-- | include/dt-bindings/clock/clps711x-clock.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/clps711x-clock.h b/include/dt-bindings/clock/clps711x-clock.h new file mode 100644 index 000000000000..0c4c80b63242 --- /dev/null +++ b/include/dt-bindings/clock/clps711x-clock.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef __DT_BINDINGS_CLOCK_CLPS711X_H | ||
| 11 | #define __DT_BINDINGS_CLOCK_CLPS711X_H | ||
| 12 | |||
| 13 | #define CLPS711X_CLK_DUMMY 0 | ||
| 14 | #define CLPS711X_CLK_CPU 1 | ||
| 15 | #define CLPS711X_CLK_BUS 2 | ||
| 16 | #define CLPS711X_CLK_PLL 3 | ||
| 17 | #define CLPS711X_CLK_TIMERREF 4 | ||
| 18 | #define CLPS711X_CLK_TIMER1 5 | ||
| 19 | #define CLPS711X_CLK_TIMER2 6 | ||
| 20 | #define CLPS711X_CLK_PWM 7 | ||
| 21 | #define CLPS711X_CLK_SPIREF 8 | ||
| 22 | #define CLPS711X_CLK_SPI 9 | ||
| 23 | #define CLPS711X_CLK_UART 10 | ||
| 24 | #define CLPS711X_CLK_TICK 11 | ||
| 25 | #define CLPS711X_CLK_MAX 12 | ||
| 26 | |||
| 27 | #endif | ||
