blob: 63282566dd1b9a760d3898af4ccf10408a5ca6dd [file] [log] [blame]
Bhalchandra Gajare0e795c42011-08-15 18:10:30 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __MSM_DAI_Q6_PDATA_H__
14
15#define __MSM_DAI_Q6_PDATA_H__
16
Kuirong Wang274f21a2011-12-15 21:29:08 -080017#define MSM_MI2S_SD0 (1 << 0)
18#define MSM_MI2S_SD1 (1 << 1)
19#define MSM_MI2S_SD2 (1 << 2)
20#define MSM_MI2S_SD3 (1 << 3)
21#define MSM_MI2S_CAP_RX 0
22#define MSM_MI2S_CAP_TX 1
23
Bhalchandra Gajare0e795c42011-08-15 18:10:30 -070024struct msm_dai_auxpcm_pdata {
25 const char *clk;
26 u16 mode;
27 u16 sync;
28 u16 frame;
29 u16 quant;
30 u16 slot;
31 u16 data;
32 int pcm_clk_rate;
33};
34
Patrick Lai04baee942012-05-01 14:38:47 -070035struct msm_mi2s_pdata {
36 u16 rx_sd_lines;
37 u16 tx_sd_lines;
Kuirong Wang274f21a2011-12-15 21:29:08 -080038};
Bhalchandra Gajare0e795c42011-08-15 18:10:30 -070039#endif