1
/* arch/arm/plat-samsung/include/plat/audio-simtec.h
3
* Copyright 2008 Simtec Electronics
4
* http://armlinux.simtec.co.uk/
5
* Ben Dooks <ben@simtec.co.uk>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 2 as
9
* published by the Free Software Foundation.
11
* Simtec Audio support.
15
* struct s3c24xx_audio_simtec_pdata - platform data for simtec audio
16
* @use_mpllin: Select codec clock from MPLLin
17
* @output_cdclk: Need to output CDCLK to the codec
18
* @have_mic: Set if we have a MIC socket
19
* @have_lout: Set if we have a LineOut socket
20
* @amp_gpio: GPIO pin to enable the AMP
21
* @amp_gain: Option GPIO to control AMP gain
23
struct s3c24xx_audio_simtec_pdata {
24
unsigned int use_mpllin:1;
25
unsigned int output_cdclk:1;
27
unsigned int have_mic:1;
28
unsigned int have_lout:1;
33
void (*startup)(void);
36
extern int simtec_audio_add(const char *codec_name, bool has_lr_routing,
37
struct s3c24xx_audio_simtec_pdata *pdata);