13 Jul, 2010
13 commits
-
The controller has mute/unmute capability and some bootloader may mute
them at boot. If it's not handled, all things will seem to be working
but no sound will come out of the speaker/headphone.Signed-off-by: Arnaud Patard
Signed-off-by: Mark Brown -
Kirkwood controller needs to be informed if the audio stream is mono
or not. Failing to do so will result in playing at the wrong speed.Signed-off-by: Arnaud Patard
Signed-off-by: Mark Brown -
This patch add hw_params to snd_soc_dai_ops,
because board specific set_rate is needed
when FSI was used as master mode.This patch remove fsi_clk_ctrl from fsi_dai_startup,
because clock should be disabled before set_rate.Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch didn't use dev_err,
because it is difficult to get struct device here.Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Many registers which were grouped by category were added in FSI2.
To make easy to switch FSI/FSI2, fsi_core was added instead of fsi_regs.Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
There is no necessity that each bit in this area has the meaning.
This patch modify it to sequence numberSigned-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Joe Perches
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Joe Perches
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
channel size should be set before setting register value
Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Clock inversion should be specified by each flags bit.
Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
09 Jul, 2010
2 commits
-
The WM8994 can output a clock derived from its internal SYSCLK, called
OPCLK. The rate can be selected as a sysclk, with a division from the
SYSCLK rate specified (multiplied by 10 since a division of 5.5 is
supported) and the clock can be disabled by specifying a divisor of
zero.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Very handy for debug.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
06 Jul, 2010
5 commits
-
i2s_accurate_sck switch can be used to have a better approximate
sampling frequency.
The clock is an externally visible bit clock and it is named
i2s continuous serial clock (I2S_SCK).
The trade off is between more accurate clock (fast clock)
and less accurate clock (slow clock).
The waveform will be not symmetric.
Probably it is possible to get a better algorithm for calculating
the divider, trying to keep a slower clock as possible.This patch has been developed against the
http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git
git tree and has been tested on bmx board (similar to dm365 evm, but using
uda1345 as external audio codec).Signed-off-by: Raffaele Recalcati
Signed-off-by: Davide Bonfanti
Acked-by: Liam Girdwood
Acked-by: Sudhakar Rajashekhara
Signed-off-by: Mark Brown -
When McBSP peripheral gets the clock from an external pin,
there are three possible chooses, MCBSP_CLKX, MCBSP_CLKR
and MCBSP_CLKS.
evm-dm365 uses MCBSP_CLKR, instead in bmx board I have a different
hardware connection and I use MCBSP_CLKS, so I have added
this possibility.This patch has been developed against the:
http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git
git tree and has been tested on bmx board (similar to dm365 evm)Signed-off-by: Raffaele Recalcati
Signed-off-by: Davide Bonfanti
Acked-by: Liam Girdwood
Acked-by: Sudhakar Rajashekhara
Signed-off-by: Mark Brown -
Added two clocking options for dm365 McBSP peripheral when used
with I2S timings, that are SND_SOC_DAIFMT_CBS_CFS (the cpu generates
clock and frame sync) and SND_SOC_DAIFMT_CBS_CFM (the cpu gets clock
from external pin and generates frame sync).
A slave clock management can be important when the external codec needs
the system clock and the bit clock synchronized (tested with uda1345).
This patch has been developed against the:
http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git
git tree and has been tested on bmx board (similar to dm365 evm, but using
uda1345 as external audio codec).Signed-off-by: Raffaele Recalcati
Signed-off-by: Davide Bonfanti
Acked-by: Liam Girdwood
Acked-by: Sudhakar Rajashekhara
Signed-off-by: Mark Brown -
The speaker was enabled when the headphone was plugged in, which isn't the
wanted behaviour so correct this.Signed-off-by: Maurus Cuelenaere
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
05 Jul, 2010
3 commits
-
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
It will be replaced with automatic deemphasis rate configuration but since
we have an enumeration table in this driver this is done in a separate
commit to make the renumbering of the enumeration items clear.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
04 Jul, 2010
2 commits
-
This adds sound support for the SmartQ board.
The hardware consists of a S3C6410 coupled with a WM8987 over I²S. The WM8750
driver is used for driving the WM8987, as they are register compatible.Signed-off-by: Maurus Cuelenaere
Signed-off-by: Mark Brown -
The WM8987 codec is register compatible with the WM8750, so just add it to the
SPI and I²C device table.Signed-off-by: Maurus Cuelenaere
Signed-off-by: Mark Brown
02 Jul, 2010
1 commit
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
30 Jun, 2010
3 commits
-
For UDA1341 codec power control is managed in STATUS1 register, and
for all other codecs in DATA011 register.Signed-off-by: Vladimir Zapolskiy
Signed-off-by: Mark Brown -
In UDA1340, UDA1344 and UDA1345 codecs there is one more functional
register in part of DATA0 tranfser. For UDA1341 this register
coincides with EA register.Signed-off-by: Vladimir Zapolskiy
Signed-off-by: Mark Brown
25 Jun, 2010
3 commits
-
Signed-off-by: Eric Bénard
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
On initialization ADC/DAC are enabled only for UDA1341, that's why
bias_level shall be set to off explicitly, otherwise dapm is
misinformed about bias_level on startup.Signed-off-by: Vladimir Zapolskiy
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This change wipes out a hardcoded macro, which enables codec bias
level control. Now is_powered_on_standby value shall be used instead.Signed-off-by: Vladimir Zapolskiy
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
24 Jun, 2010
1 commit
-
…soc-2.6 into topic/asoc
23 Jun, 2010
6 commits
-
This patch adds GPIO jack detection to Nokia N900/RX-51. At the moment only
SND_JACK_VIDEOOUT type is reported. More types could be reported after
getting more audio features supported and necessary drivers integrated for
implementing automated accessory detection.Signed-off-by: Jarkko Nikula
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Nokia RX-51/N900 has multifunction 4-pole audio-video jack that can be used
as headphone, headset or audio-video connector. This patch implements the
control 'Jack Function' which is used to select the desired function.
At the moment only TV-out without audio is supported.Signed-off-by: Jarkko Nikula
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
in tlv320aic23_set_bias_level, for the case SND_SOC_BIAS_ON, the
comment says "vref/mid, osc on, dac unmute" but the code doesn't
clear the corresponding bits, thus when resuming, several bits are
not cleared preventing the codec from working.in tlv320aic23_suspend, clearing the active register is not needed
as it will be done by tlv320aic23_set_bias_level, when setting
bias to SND_SOC_BIAS_OFFSigned-off-by: Eric Bénard
Cc: broonie@opensource.wolfsonmicro.com
Cc: anuj.aggarwal@ti.com
Cc: lrg@slimlogic.co.uk
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
This patch adds ASoC support for the qi_lb60 board.
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch adds support for the JZ4740 internal codec.
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch adds ASoC support for JZ4740 SoCs I2S module.
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
22 Jun, 2010
1 commit
-
After mass production started it was found that several boards exhibit
noise problems during sound playback. After some investigation it was
determined that CLKX polarity is set incorrectly, and even if most boards
can tolerate the wrong setting, there are some that don't.Fix polarity setup in the board file. As the clock settings for input and
output now match, merge in and out functions and structures to simplify
code.Signed-off-by: Grazvydas Ignotas
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood