1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * ASoC PXA SSP port support 2 * ASoC PXA SSP port support >> 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. 4 */ 7 */ 5 8 6 #ifndef _PXA_SSP_H 9 #ifndef _PXA_SSP_H 7 #define _PXA_SSP_H 10 #define _PXA_SSP_H >> 11 >> 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 8 17 9 /* SSP clock sources */ 18 /* SSP clock sources */ 10 #define PXA_SSP_CLK_PLL 0 19 #define PXA_SSP_CLK_PLL 0 11 #define PXA_SSP_CLK_EXT 1 20 #define PXA_SSP_CLK_EXT 1 12 #define PXA_SSP_CLK_NET 2 21 #define PXA_SSP_CLK_NET 2 13 #define PXA_SSP_CLK_AUDIO 3 22 #define PXA_SSP_CLK_AUDIO 3 14 #define PXA_SSP_CLK_NET_PLL 4 23 #define PXA_SSP_CLK_NET_PLL 4 15 24 16 /* SSP audio dividers */ 25 /* SSP audio dividers */ 17 #define PXA_SSP_AUDIO_DIV_ACDS 0 26 #define PXA_SSP_AUDIO_DIV_ACDS 0 18 #define PXA_SSP_AUDIO_DIV_SCDB 1 27 #define PXA_SSP_AUDIO_DIV_SCDB 1 19 #define PXA_SSP_DIV_SCR 28 #define PXA_SSP_DIV_SCR 2 20 29 21 /* SSP ACDS audio dividers values */ 30 /* SSP ACDS audio dividers values */ 22 #define PXA_SSP_CLK_AUDIO_DIV_1 0 31 #define PXA_SSP_CLK_AUDIO_DIV_1 0 23 #define PXA_SSP_CLK_AUDIO_DIV_2 1 32 #define PXA_SSP_CLK_AUDIO_DIV_2 1 24 #define PXA_SSP_CLK_AUDIO_DIV_4 2 33 #define PXA_SSP_CLK_AUDIO_DIV_4 2 25 #define PXA_SSP_CLK_AUDIO_DIV_8 3 34 #define PXA_SSP_CLK_AUDIO_DIV_8 3 26 #define PXA_SSP_CLK_AUDIO_DIV_16 4 35 #define PXA_SSP_CLK_AUDIO_DIV_16 4 27 #define PXA_SSP_CLK_AUDIO_DIV_32 5 36 #define PXA_SSP_CLK_AUDIO_DIV_32 5 28 37 29 /* SSP divider bypass */ 38 /* SSP divider bypass */ 30 #define PXA_SSP_CLK_SCDB_4 0 39 #define PXA_SSP_CLK_SCDB_4 0 31 #define PXA_SSP_CLK_SCDB_1 1 40 #define PXA_SSP_CLK_SCDB_1 1 32 #define PXA_SSP_CLK_SCDB_8 2 41 #define PXA_SSP_CLK_SCDB_8 2 33 42 34 #define PXA_SSP_PLL_OUT 0 43 #define PXA_SSP_PLL_OUT 0 35 44 36 #endif 45 #endif 37 46
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.