2 * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030
5 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
8 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 #ifndef _OMAP_TWL4030_H_
26 #define _OMAP_TWL4030_H_
28 /* To select if only one channel is connected in a stereo port */
29 #define OMAP_TWL4030_LEFT (1 << 0)
30 #define OMAP_TWL4030_RIGHT (1 << 1)
32 struct omap_tw4030_pdata
{
33 const char *card_name
;
34 /* Voice port is connected to McBSP3 */
37 /* The driver will parse the connection flags if this flag is set */
39 /* Flags to indicate connected audio ports. */
54 /* Jack detect GPIO or <= 0 if it is not implemented */
58 #endif /* _OMAP_TWL4030_H_ */