1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ASoC PXA SSP port support
9 /* SSP clock sources */
10 #define PXA_SSP_CLK_PLL 0
11 #define PXA_SSP_CLK_EXT 1
12 #define PXA_SSP_CLK_NET 2
13 #define PXA_SSP_CLK_AUDIO 3
14 #define PXA_SSP_CLK_NET_PLL 4
16 /* SSP audio dividers */
17 #define PXA_SSP_AUDIO_DIV_ACDS 0
18 #define PXA_SSP_AUDIO_DIV_SCDB 1
19 #define PXA_SSP_DIV_SCR 2
21 /* SSP ACDS audio dividers values */
22 #define PXA_SSP_CLK_AUDIO_DIV_1 0
23 #define PXA_SSP_CLK_AUDIO_DIV_2 1
24 #define PXA_SSP_CLK_AUDIO_DIV_4 2
25 #define PXA_SSP_CLK_AUDIO_DIV_8 3
26 #define PXA_SSP_CLK_AUDIO_DIV_16 4
27 #define PXA_SSP_CLK_AUDIO_DIV_32 5
29 /* SSP divider bypass */
30 #define PXA_SSP_CLK_SCDB_4 0
31 #define PXA_SSP_CLK_SCDB_1 1
32 #define PXA_SSP_CLK_SCDB_8 2
34 #define PXA_SSP_PLL_OUT 0