xref: /linux/include/dt-bindings/clock/qcom,lcc-msm8960.h (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1 /*
2  * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13 
14 #ifndef _DT_BINDINGS_CLK_LCC_MSM8960_H
15 #define _DT_BINDINGS_CLK_LCC_MSM8960_H
16 
17 #define PLL4				0
18 #define MI2S_OSR_SRC			1
19 #define MI2S_OSR_CLK			2
20 #define MI2S_DIV_CLK			3
21 #define MI2S_BIT_DIV_CLK		4
22 #define MI2S_BIT_CLK			5
23 #define PCM_SRC				6
24 #define PCM_CLK_OUT			7
25 #define PCM_CLK				8
26 #define SLIMBUS_SRC			9
27 #define AUDIO_SLIMBUS_CLK		10
28 #define SPS_SLIMBUS_CLK			11
29 #define CODEC_I2S_MIC_OSR_SRC		12
30 #define CODEC_I2S_MIC_OSR_CLK		13
31 #define CODEC_I2S_MIC_DIV_CLK		14
32 #define CODEC_I2S_MIC_BIT_DIV_CLK	15
33 #define CODEC_I2S_MIC_BIT_CLK		16
34 #define SPARE_I2S_MIC_OSR_SRC		17
35 #define SPARE_I2S_MIC_OSR_CLK		18
36 #define SPARE_I2S_MIC_DIV_CLK		19
37 #define SPARE_I2S_MIC_BIT_DIV_CLK	20
38 #define SPARE_I2S_MIC_BIT_CLK		21
39 #define CODEC_I2S_SPKR_OSR_SRC		22
40 #define CODEC_I2S_SPKR_OSR_CLK		23
41 #define CODEC_I2S_SPKR_DIV_CLK		24
42 #define CODEC_I2S_SPKR_BIT_DIV_CLK	25
43 #define CODEC_I2S_SPKR_BIT_CLK		26
44 #define SPARE_I2S_SPKR_OSR_SRC		27
45 #define SPARE_I2S_SPKR_OSR_CLK		28
46 #define SPARE_I2S_SPKR_DIV_CLK		29
47 #define SPARE_I2S_SPKR_BIT_DIV_CLK	30
48 #define SPARE_I2S_SPKR_BIT_CLK		31
49 
50 #endif
51