-
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
Lars-Peter Clausen
authored and
Mark Brown
committed
Aug 16, 2011
1 parent
44a4cc4
commit 6622d19
Showing
6 changed files
with
1,484 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: f0b182b003e22320efac5a33cacc460e0079c135 | ||
refs/heads/master: ddd7a26094c93a950f4b2e6b4d5865c93976372e |
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,34 @@ | ||
/* | ||
* Analog Devices ADAU1373 Audio Codec drive | ||
* | ||
* Copyright 2011 Analog Devices Inc. | ||
* Author: Lars-Peter Clausen <lars@metafoo.de> | ||
* | ||
* Licensed under the GPL-2 or later. | ||
*/ | ||
|
||
#ifndef __SOUND_ADAU1373_H__ | ||
#define __SOUND_ADAU1373_H__ | ||
|
||
enum adau1373_micbias_voltage { | ||
ADAU1373_MICBIAS_2_9V = 0, | ||
ADAU1373_MICBIAS_2_2V = 1, | ||
ADAU1373_MICBIAS_2_6V = 2, | ||
ADAU1373_MICBIAS_1_8V = 3, | ||
}; | ||
|
||
#define ADAU1373_DRC_SIZE 13 | ||
|
||
struct adau1373_platform_data { | ||
bool input_differential[4]; | ||
bool lineout_differential; | ||
bool lineout_ground_sense; | ||
|
||
unsigned int num_drc; | ||
uint8_t drc_setting[3][ADAU1373_DRC_SIZE]; | ||
|
||
enum adau1373_micbias_voltage micbias1; | ||
enum adau1373_micbias_voltage micbias2; | ||
}; | ||
|
||
#endif |
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.