diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-07-02 13:28:27 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-18 15:25:08 -0400 |
commit | 9978f28f695adb63fa1726744a7f95e12920e8c9 (patch) | |
tree | b235bb8bc00105038d8b15dfca69d076586279cd /include/dt-bindings | |
parent | 32726d2d5502302ba5753854f5f2f12ba22681c4 (diff) |
clk: samsung: Add S5PV210 Audio Subsystem clock driver
This patch adds a driver for clock controller being a part of Audio
Subsystem present on S5PV210 and compatible SoCs. It is used to provide
clocks for other IP blocks of this subsystem.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/s5pv210-audss.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/s5pv210-audss.h b/include/dt-bindings/clock/s5pv210-audss.h new file mode 100644 index 000000000000..fe57406e24de --- /dev/null +++ b/include/dt-bindings/clock/s5pv210-audss.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 Tomasz Figa <tomasz.figa@gmail.com> | ||
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 | * This header provides constants for Samsung audio subsystem | ||
9 | * clock controller. | ||
10 | * | ||
11 | * The constants defined in this header are being used in dts | ||
12 | * and s5pv210 audss driver. | ||
13 | */ | ||
14 | |||
15 | #ifndef _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H | ||
16 | #define _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H | ||
17 | |||
18 | #define CLK_MOUT_AUDSS 0 | ||
19 | #define CLK_MOUT_I2S_A 1 | ||
20 | |||
21 | #define CLK_DOUT_AUD_BUS 2 | ||
22 | #define CLK_DOUT_I2S_A 3 | ||
23 | |||
24 | #define CLK_I2S 4 | ||
25 | #define CLK_HCLK_I2S 5 | ||
26 | #define CLK_HCLK_UART 6 | ||
27 | #define CLK_HCLK_HWA 7 | ||
28 | #define CLK_HCLK_DMA 8 | ||
29 | #define CLK_HCLK_BUF 9 | ||
30 | #define CLK_HCLK_RP 10 | ||
31 | |||
32 | #define AUDSS_MAX_CLKS 11 | ||
33 | |||
34 | #endif | ||