Add linux-next specific files for 20110716
[linux-2.6/next.git] / sound / soc / pxa / pxa-ssp.h
blobbc79da221c0df018942b80c613be5d8d11ef6bf9
1 /*
2 * ASoC PXA SSP port support
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 */
9 #ifndef _PXA_SSP_H
10 #define _PXA_SSP_H
12 /* pxa DAI SSP IDs */
13 #define PXA_DAI_SSP1 0
14 #define PXA_DAI_SSP2 1
15 #define PXA_DAI_SSP3 2
16 #define PXA_DAI_SSP4 3
18 /* SSP clock sources */
19 #define PXA_SSP_CLK_PLL 0
20 #define PXA_SSP_CLK_EXT 1
21 #define PXA_SSP_CLK_NET 2
22 #define PXA_SSP_CLK_AUDIO 3
23 #define PXA_SSP_CLK_NET_PLL 4
25 /* SSP audio dividers */
26 #define PXA_SSP_AUDIO_DIV_ACDS 0
27 #define PXA_SSP_AUDIO_DIV_SCDB 1
28 #define PXA_SSP_DIV_SCR 2
30 /* SSP ACDS audio dividers values */
31 #define PXA_SSP_CLK_AUDIO_DIV_1 0
32 #define PXA_SSP_CLK_AUDIO_DIV_2 1
33 #define PXA_SSP_CLK_AUDIO_DIV_4 2
34 #define PXA_SSP_CLK_AUDIO_DIV_8 3
35 #define PXA_SSP_CLK_AUDIO_DIV_16 4
36 #define PXA_SSP_CLK_AUDIO_DIV_32 5
38 /* SSP divider bypass */
39 #define PXA_SSP_CLK_SCDB_4 0
40 #define PXA_SSP_CLK_SCDB_1 1
41 #define PXA_SSP_CLK_SCDB_8 2
43 #define PXA_SSP_PLL_OUT 0
45 #endif