-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Dooks
authored and
Mark Brown
committed
Aug 21, 2009
1 parent
fb8c0c3
commit 7ed1d7a
Showing
7 changed files
with
607 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a0a499c5792b8656cd51e11d5e0db9fb21640f58 | ||
refs/heads/master: 14412acde5b57450b8afb3d4b03132419b6abebf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* arch/arm/plat-s3c/include/plat/audio-simtec.h | ||
* | ||
* Copyright 2008 Simtec Electronics | ||
* http://armlinux.simtec.co.uk/ | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* Simtec Audio support. | ||
*/ | ||
|
||
/** | ||
* struct s3c24xx_audio_simtec_pdata - platform data for simtec audio | ||
* @use_mpllin: Select codec clock from MPLLin | ||
* @output_cdclk: Need to output CDCLK to the codec | ||
* @have_mic: Set if we have a MIC socket | ||
* @have_lout: Set if we have a LineOut socket | ||
* @amp_gpio: GPIO pin to enable the AMP | ||
* @amp_gain: Option GPIO to control AMP gain | ||
*/ | ||
struct s3c24xx_audio_simtec_pdata { | ||
unsigned int use_mpllin:1; | ||
unsigned int output_cdclk:1; | ||
|
||
unsigned int have_mic:1; | ||
unsigned int have_lout:1; | ||
|
||
int amp_gpio; | ||
int amp_gain[2]; | ||
|
||
void (*startup)(void); | ||
}; | ||
|
||
extern int simtec_audio_add(const char *codec_name, | ||
struct s3c24xx_audio_simtec_pdata *pdata); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.