forked from torvalds/linux
-
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.
Merge remote-tracking branch 'asoc/topic/cs42l73' into asoc-next
- Loading branch information
Showing
4 changed files
with
173 additions
and
90 deletions.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
CS42L73 audio CODEC | ||
|
||
Required properties: | ||
|
||
- compatible : "cirrus,cs42l73" | ||
|
||
- reg : the I2C address of the device for I2C | ||
|
||
Optional properties: | ||
|
||
- reset_gpio : a GPIO spec for the reset pin. | ||
- chgfreq : Charge Pump Frequency values 0x00-0x0F | ||
|
||
|
||
Example: | ||
|
||
codec: cs42l73@4a { | ||
compatible = "cirrus,cs42l73"; | ||
reg = <0x4a>; | ||
reset_gpio = <&gpio 10 0>; | ||
chgfreq = <0x05>; | ||
}; |
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,22 @@ | ||
/* | ||
* linux/sound/cs42l73.h -- Platform data for CS42L73 | ||
* | ||
* Copyright (c) 2012 Cirrus Logic Inc. | ||
* | ||
* 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. | ||
*/ | ||
|
||
#ifndef __CS42L73_H | ||
#define __CS42L73_H | ||
|
||
struct cs42l73_platform_data { | ||
/* RST GPIO */ | ||
unsigned int reset_gpio; | ||
unsigned int chgfreq; | ||
int jack_detection; | ||
unsigned int mclk_freq; | ||
}; | ||
|
||
#endif /* __CS42L73_H */ |
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.