]>
Commit | Line | Data |
---|---|---|
c3c125e2 | 1 | /* |
14412acd BD |
2 | * Copyright 2008 Simtec Electronics |
3 | * http://armlinux.simtec.co.uk/ | |
4 | * Ben Dooks <ben@simtec.co.uk> | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | * | |
10 | * Simtec Audio support. | |
11 | */ | |
12 | ||
13 | /** | |
14 | * struct s3c24xx_audio_simtec_pdata - platform data for simtec audio | |
15 | * @use_mpllin: Select codec clock from MPLLin | |
16 | * @output_cdclk: Need to output CDCLK to the codec | |
17 | * @have_mic: Set if we have a MIC socket | |
18 | * @have_lout: Set if we have a LineOut socket | |
19 | * @amp_gpio: GPIO pin to enable the AMP | |
20 | * @amp_gain: Option GPIO to control AMP gain | |
21 | */ | |
22 | struct s3c24xx_audio_simtec_pdata { | |
23 | unsigned int use_mpllin:1; | |
24 | unsigned int output_cdclk:1; | |
25 | ||
26 | unsigned int have_mic:1; | |
27 | unsigned int have_lout:1; | |
28 | ||
29 | int amp_gpio; | |
30 | int amp_gain[2]; | |
31 | ||
32 | void (*startup)(void); | |
33 | }; |