Commit a2e4b255 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/wm8753' into asoc-next

parents 0b05a05d 3ce1fb52
...@@ -11,31 +11,8 @@ Required properties: ...@@ -11,31 +11,8 @@ Required properties:
- nvidia,audio-routing : A list of the connections between audio components. - 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, 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 the second being the connection's source. Valid names for sources and
sinks are the WM8753's pins, and the jacks on the board: sinks are the WM8753's pins as documented in the binding for the WM8753,
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:
* Headphone Jack * Headphone Jack
* Mic Jack * Mic Jack
......
...@@ -10,9 +10,31 @@ Required properties: ...@@ -10,9 +10,31 @@ Required properties:
- reg : the I2C address of the device for I2C, the chip select - reg : the I2C address of the device for I2C, the chip select
number for SPI. 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: Example:
codec: wm8737@1a { codec: wm8753@1a {
compatible = "wlf,wm8753"; compatible = "wlf,wm8753";
reg = <0x1a>; reg = <0x1a>;
}; };
...@@ -1456,7 +1456,8 @@ static int wm8753_resume(struct snd_soc_codec *codec) ...@@ -1456,7 +1456,8 @@ static int wm8753_resume(struct snd_soc_codec *codec)
if (codec->dapm.suspend_bias_level == SND_SOC_BIAS_ON) { if (codec->dapm.suspend_bias_level == SND_SOC_BIAS_ON) {
wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE); wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
codec->dapm.bias_level = SND_SOC_BIAS_ON; codec->dapm.bias_level = SND_SOC_BIAS_ON;
schedule_delayed_work(&codec->dapm.delayed_work, queue_delayed_work(system_power_efficient_wq,
&codec->dapm.delayed_work,
msecs_to_jiffies(caps_charge)); msecs_to_jiffies(caps_charge));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment