diff options
| author | Philippe Rétornaz <philippe.retornaz@epfl.ch> | 2012-05-15 07:53:49 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-18 11:42:08 -0400 |
| commit | e3a0871c8f67e228ac227be02f8da580cfa0dc27 (patch) | |
| tree | 4317f5cd193e55e6c59053d7e5f853b3fcd7d378 /include/linux | |
| parent | fe33d4c5e2b27a4b82aa479a58f2621eec103d1b (diff) | |
mfd: mc13xxx: add codec platform data
Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/mc13xxx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h index 10e038bac8dd..bf070755982e 100644 --- a/include/linux/mfd/mc13xxx.h +++ b/include/linux/mfd/mc13xxx.h | |||
| @@ -170,6 +170,16 @@ struct mc13xxx_ts_platform_data { | |||
| 170 | bool atox; | 170 | bool atox; |
| 171 | }; | 171 | }; |
| 172 | 172 | ||
| 173 | enum mc13783_ssi_port { | ||
| 174 | MC13783_SSI1_PORT, | ||
| 175 | MC13783_SSI2_PORT, | ||
| 176 | }; | ||
| 177 | |||
| 178 | struct mc13xxx_codec_platform_data { | ||
| 179 | enum mc13783_ssi_port adc_ssi_port; | ||
| 180 | enum mc13783_ssi_port dac_ssi_port; | ||
| 181 | }; | ||
| 182 | |||
| 173 | struct mc13xxx_platform_data { | 183 | struct mc13xxx_platform_data { |
| 174 | #define MC13XXX_USE_TOUCHSCREEN (1 << 0) | 184 | #define MC13XXX_USE_TOUCHSCREEN (1 << 0) |
| 175 | #define MC13XXX_USE_CODEC (1 << 1) | 185 | #define MC13XXX_USE_CODEC (1 << 1) |
| @@ -181,6 +191,7 @@ struct mc13xxx_platform_data { | |||
| 181 | struct mc13xxx_leds_platform_data *leds; | 191 | struct mc13xxx_leds_platform_data *leds; |
| 182 | struct mc13xxx_buttons_platform_data *buttons; | 192 | struct mc13xxx_buttons_platform_data *buttons; |
| 183 | struct mc13xxx_ts_platform_data touch; | 193 | struct mc13xxx_ts_platform_data touch; |
| 194 | struct mc13xxx_codec_platform_data *codec; | ||
| 184 | }; | 195 | }; |
| 185 | 196 | ||
| 186 | #define MC13XXX_ADC_MODE_TS 1 | 197 | #define MC13XXX_ADC_MODE_TS 1 |
