diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/asoc-s3c.h | 6 | ||||
| -rw-r--r-- | include/linux/platform_data/davinci_asp.h | 4 | ||||
| -rw-r--r-- | include/linux/platform_data/omap-twl4030.h | 26 |
3 files changed, 29 insertions, 7 deletions
diff --git a/include/linux/platform_data/asoc-s3c.h b/include/linux/platform_data/asoc-s3c.h index aa9875f77c40..88272591a895 100644 --- a/include/linux/platform_data/asoc-s3c.h +++ b/include/linux/platform_data/asoc-s3c.h | |||
| @@ -38,12 +38,6 @@ struct samsung_i2s { | |||
| 38 | #define QUIRK_NEED_RSTCLR (1 << 3) | 38 | #define QUIRK_NEED_RSTCLR (1 << 3) |
| 39 | /* Quirks of the I2S controller */ | 39 | /* Quirks of the I2S controller */ |
| 40 | u32 quirks; | 40 | u32 quirks; |
| 41 | |||
| 42 | /* | ||
| 43 | * Array of clock names that can be used to generate I2S signals. | ||
| 44 | * Also corresponds to clocks of I2SMOD[10] | ||
| 45 | */ | ||
| 46 | const char **src_clk; | ||
| 47 | dma_addr_t idma_addr; | 41 | dma_addr_t idma_addr; |
| 48 | }; | 42 | }; |
| 49 | 43 | ||
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h index d0c5825876f8..8db5ae03b6e3 100644 --- a/include/linux/platform_data/davinci_asp.h +++ b/include/linux/platform_data/davinci_asp.h | |||
| @@ -16,12 +16,13 @@ | |||
| 16 | #ifndef __DAVINCI_ASP_H | 16 | #ifndef __DAVINCI_ASP_H |
| 17 | #define __DAVINCI_ASP_H | 17 | #define __DAVINCI_ASP_H |
| 18 | 18 | ||
| 19 | #include <linux/genalloc.h> | ||
| 20 | |||
| 19 | struct snd_platform_data { | 21 | struct snd_platform_data { |
| 20 | u32 tx_dma_offset; | 22 | u32 tx_dma_offset; |
| 21 | u32 rx_dma_offset; | 23 | u32 rx_dma_offset; |
| 22 | int asp_chan_q; /* event queue number for ASP channel */ | 24 | int asp_chan_q; /* event queue number for ASP channel */ |
| 23 | int ram_chan_q; /* event queue number for RAM channel */ | 25 | int ram_chan_q; /* event queue number for RAM channel */ |
| 24 | unsigned int codec_fmt; | ||
| 25 | /* | 26 | /* |
| 26 | * Allowing this is more efficient and eliminates left and right swaps | 27 | * Allowing this is more efficient and eliminates left and right swaps |
| 27 | * caused by underruns, but will swap the left and right channels | 28 | * caused by underruns, but will swap the left and right channels |
| @@ -30,6 +31,7 @@ struct snd_platform_data { | |||
| 30 | unsigned enable_channel_combine:1; | 31 | unsigned enable_channel_combine:1; |
| 31 | unsigned sram_size_playback; | 32 | unsigned sram_size_playback; |
| 32 | unsigned sram_size_capture; | 33 | unsigned sram_size_capture; |
| 34 | struct gen_pool *sram_pool; | ||
| 33 | 35 | ||
| 34 | /* | 36 | /* |
| 35 | * If McBSP peripheral gets the clock from an external pin, | 37 | * If McBSP peripheral gets the clock from an external pin, |
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_ */ |
