diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:22:16 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:22:16 -0500 |
| commit | d5767418393f55ac5f01d372c9887c7267aa59d9 (patch) | |
| tree | 2e94abc0bb9ff41dc3618060c62f49b070ba5d7c /include/linux/platform_data | |
| parent | 473e8b323c97d1e63ca307b40468addbabfe511a (diff) | |
| parent | eb044c48446f676ae5c38b30a2e2165742a52f4a (diff) | |
Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/omap-twl4030.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/platform_data/omap-twl4030.h b/include/linux/platform_data/omap-twl4030.h index c7bef788daab..ee60ef79d792 100644 --- a/include/linux/platform_data/omap-twl4030.h +++ b/include/linux/platform_data/omap-twl4030.h | |||
| @@ -25,8 +25,34 @@ | |||
| 25 | #ifndef _OMAP_TWL4030_H_ | 25 | #ifndef _OMAP_TWL4030_H_ |
| 26 | #define _OMAP_TWL4030_H_ | 26 | #define _OMAP_TWL4030_H_ |
| 27 | 27 | ||
| 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) | ||
| 31 | |||
| 28 | struct omap_tw4030_pdata { | 32 | struct omap_tw4030_pdata { |
| 29 | const char *card_name; | 33 | const char *card_name; |
| 34 | /* Voice port is connected to McBSP3 */ | ||
| 35 | bool voice_connected; | ||
| 36 | |||
| 37 | /* The driver will parse the connection flags if this flag is set */ | ||
| 38 | bool custom_routing; | ||
| 39 | /* Flags to indicate connected audio ports. */ | ||
| 40 | u8 has_hs; | ||
| 41 | u8 has_hf; | ||
| 42 | u8 has_predriv; | ||
| 43 | u8 has_carkit; | ||
| 44 | bool has_ear; | ||
| 45 | |||
| 46 | bool has_mainmic; | ||
| 47 | bool has_submic; | ||
| 48 | bool has_hsmic; | ||
| 49 | bool has_carkitmic; | ||
| 50 | bool has_digimic0; | ||
| 51 | bool has_digimic1; | ||
| 52 | u8 has_linein; | ||
| 53 | |||
| 54 | /* Jack detect GPIO or <= 0 if it is not implemented */ | ||
| 55 | int jack_detect; | ||
| 30 | }; | 56 | }; |
| 31 | 57 | ||
| 32 | #endif /* _OMAP_TWL4030_H_ */ | 58 | #endif /* _OMAP_TWL4030_H_ */ |
