Go to the documentation of this file.
15 #ifndef UX500_msp_dai_H
16 #define UX500_msp_dai_H
18 #include <linux/types.h>
23 #define UX500_NBR_OF_DAI 4
25 #define UX500_I2S_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | \
26 SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
28 #define UX500_I2S_FORMATS (SNDRV_PCM_FMTBIT_S16_LE)
30 #define FRAME_PER_SINGLE_SLOT_8_KHZ 31
31 #define FRAME_PER_SINGLE_SLOT_16_KHZ 124
32 #define FRAME_PER_SINGLE_SLOT_44_1_KHZ 63
33 #define FRAME_PER_SINGLE_SLOT_48_KHZ 49
34 #define FRAME_PER_2_SLOTS 31
35 #define FRAME_PER_8_SLOTS 138
36 #define FRAME_PER_16_SLOTS 277
38 #ifndef CONFIG_SND_SOC_UX500_AB5500
39 #define UX500_MSP_INTERNAL_CLOCK_FREQ 40000000
40 #define UX500_MSP1_INTERNAL_CLOCK_FREQ UX500_MSP_INTERNAL_CLOCK_FREQ
42 #define UX500_MSP_INTERNAL_CLOCK_FREQ 13000000
43 #define UX500_MSP1_INTERNAL_CLOCK_FREQ (UX500_MSP_INTERNAL_CLOCK_FREQ * 2)
46 #define UX500_MSP_MIN_CHANNELS 1
47 #define UX500_MSP_MAX_CHANNELS 8
49 #define PLAYBACK_CONFIGURED 1
50 #define CAPTURE_CONFIGURED 2