Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a2e4b255
Commit
a2e4b255
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm8753' into asoc-next
parents
0b05a05d
3ce1fb52
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
28 deletions
+28
-28
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt
...n/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt
+2
-25
Documentation/devicetree/bindings/sound/wm8753.txt
Documentation/devicetree/bindings/sound/wm8753.txt
+23
-1
sound/soc/codecs/wm8753.c
sound/soc/codecs/wm8753.c
+3
-2
No files found.
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt
View file @
a2e4b255
...
...
@@ -11,31 +11,8 @@ Required properties:
- nvidia,audio-routing : A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the WM8753's pins, and the jacks on the board:
WM8753 pins:
* LOUT1
* LOUT2
* ROUT1
* ROUT2
* MONO1
* MONO2
* OUT3
* OUT4
* LINE1
* LINE2
* RXP
* RXN
* ACIN
* ACOP
* MIC1N
* MIC1
* MIC2N
* MIC2
* Mic Bias
Board connectors:
sinks are the WM8753's pins as documented in the binding for the WM8753,
and the jacks on the board:
* Headphone Jack
* Mic Jack
...
...
Documentation/devicetree/bindings/sound/wm8753.txt
View file @
a2e4b255
...
...
@@ -10,9 +10,31 @@ Required properties:
- reg : the I2C address of the device for I2C, the chip select
number for SPI.
Pins on the device (for linking into audio routes):
* LOUT1
* LOUT2
* ROUT1
* ROUT2
* MONO1
* MONO2
* OUT3
* OUT4
* LINE1
* LINE2
* RXP
* RXN
* ACIN
* ACOP
* MIC1N
* MIC1
* MIC2N
* MIC2
* Mic Bias
Example:
codec: wm87
37
@1a {
codec: wm87
53
@1a {
compatible = "wlf,wm8753";
reg = <0x1a>;
};
sound/soc/codecs/wm8753.c
View file @
a2e4b255
...
...
@@ -1456,8 +1456,9 @@ static int wm8753_resume(struct snd_soc_codec *codec)
if
(
codec
->
dapm
.
suspend_bias_level
==
SND_SOC_BIAS_ON
)
{
wm8753_set_bias_level
(
codec
,
SND_SOC_BIAS_PREPARE
);
codec
->
dapm
.
bias_level
=
SND_SOC_BIAS_ON
;
schedule_delayed_work
(
&
codec
->
dapm
.
delayed_work
,
msecs_to_jiffies
(
caps_charge
));
queue_delayed_work
(
system_power_efficient_wq
,
&
codec
->
dapm
.
delayed_work
,
msecs_to_jiffies
(
caps_charge
));
}
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment