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