diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-04 10:22:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-04 10:22:41 -0500 |
commit | baf9226667734579e344f612ed39f727079cad51 (patch) | |
tree | 9744efb5f1838ea73b695a0ab862547fdcf92ecf /include/linux/i2c/twl4030.h | |
parent | 57648cd52b1848c6885bdbd948d113d52f3ddd43 (diff) | |
parent | 43f0de8d0298e624e6c3bf2185b6003a59b331bd (diff) |
Merge branch 'topic/asoc' into for-linus
Diffstat (limited to 'include/linux/i2c/twl4030.h')
-rw-r--r-- | include/linux/i2c/twl4030.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/i2c/twl4030.h b/include/linux/i2c/twl4030.h index 508824ee35e6..5306a759cbde 100644 --- a/include/linux/i2c/twl4030.h +++ b/include/linux/i2c/twl4030.h | |||
@@ -401,6 +401,24 @@ struct twl4030_power_data { | |||
401 | 401 | ||
402 | extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts); | 402 | extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts); |
403 | 403 | ||
404 | struct twl4030_codec_audio_data { | ||
405 | unsigned int audio_mclk; | ||
406 | unsigned int ramp_delay_value; | ||
407 | unsigned int hs_extmute:1; | ||
408 | void (*set_hs_extmute)(int mute); | ||
409 | }; | ||
410 | |||
411 | struct twl4030_codec_vibra_data { | ||
412 | unsigned int audio_mclk; | ||
413 | unsigned int coexist; | ||
414 | }; | ||
415 | |||
416 | struct twl4030_codec_data { | ||
417 | unsigned int audio_mclk; | ||
418 | struct twl4030_codec_audio_data *audio; | ||
419 | struct twl4030_codec_vibra_data *vibra; | ||
420 | }; | ||
421 | |||
404 | struct twl4030_platform_data { | 422 | struct twl4030_platform_data { |
405 | unsigned irq_base, irq_end; | 423 | unsigned irq_base, irq_end; |
406 | struct twl4030_bci_platform_data *bci; | 424 | struct twl4030_bci_platform_data *bci; |
@@ -409,6 +427,7 @@ struct twl4030_platform_data { | |||
409 | struct twl4030_keypad_data *keypad; | 427 | struct twl4030_keypad_data *keypad; |
410 | struct twl4030_usb_data *usb; | 428 | struct twl4030_usb_data *usb; |
411 | struct twl4030_power_data *power; | 429 | struct twl4030_power_data *power; |
430 | struct twl4030_codec_data *codec; | ||
412 | 431 | ||
413 | /* LDO regulators */ | 432 | /* LDO regulators */ |
414 | struct regulator_init_data *vdac; | 433 | struct regulator_init_data *vdac; |