23 Aug, 2013
1 commit
-
ASoC: Updates for v3.12
- DAPM is now mandatory for CODEC drivers in order to avoid the repeated
regressions in the special cases for non-DAPM CODECs and make it
easier to integrate with other components on boards. All existing
drivers have had some level of DAPM support added.
- A lot of cleanups in DAPM plus support for maintaining controls in a
specific state while a DAPM widget all contributed by Lars-Peter Clausen.
- Core helpers for bitbanged AC'97 reset from Markus Pargmann.
- New drivers and support for Analog Devices ADAU1702 and ADAU1401(a),
Asahi Kasei Microdevices AK4554, Atmel AT91ASM9x5 and WM8904 based
machines, Freescale S/PDIF and SSI AC'97, Renesas R-Car SoCs, Samsung
Exynos5420 SoCs, Texas Instruments PCM1681 and PCM1792A and Wolfson
Microelectronics WM8997.
- Support for building drivers that can support it cross-platform for
compile test.
20 Aug, 2013
1 commit
-
Remove unneeded error handling on the result of a call to
platform_get_resource_byname when the value is passed to devm_ioremap_resource.In the case of omap-dmic.c, the error-handling code of
devm_ioremap_resource is also corrected to include releasing the clock.A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)//
@@
expression pdev,res,e,e1;
expression ret != 0;
identifier l;
@@res = platform_get_resource_byname(...);
- if (res == NULL) { ... \(goto l;\|return ret;\) }
e = devm_ioremap_resource(e1, res);
//Signed-off-by: Julia Lawall
Acked-by: Jarkko Nikula
Signed-off-by: Mark Brown
15 Aug, 2013
2 commits
-
…e/sound into asoc-omap
Conflicts:
sound/soc/omap/Kconfig -
For the PXA DMA rework, we need the generic dmaengine implementation
that currently lives in sound/soc for standalone (non-ASoC) AC'97
support.Move it to sound/core, and rename the Kconfig symbol.
Signed-off-by: Daniel Mack
Signed-off-by: Mark Brown
01 Aug, 2013
1 commit
-
Just recently OMAP4 legacy boot support has been removed. No reason to keep
the code used by the legacy boot (pdata based) since neither OMAP4 or OMAP5
can boot in this mode.Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown
22 Jul, 2013
1 commit
-
Add SND_SOC_DAIFMT_CBM_CFS support for omap3/omap4. The patch was tested on
a pandaboard-es board connected to the pcm1792a codec. mcbspx_fsx must
configured as output and mcbspx_clkx must be configured as input.Signed-off-by: Michael Trimarchi
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown
21 Jul, 2013
1 commit
-
The usage of strict_strto*() is not preferred, because
strict_strto*() is obsolete. Thus, kstrto*() should be
used.Signed-off-by: Jingoo Han
Signed-off-by: Takashi Iwai
17 Jul, 2013
1 commit
-
The DT platforms don't have any source dependency on any OMAP stuff so
allow them to be built when COMPILE_TEST is enabled.Signed-off-by: Mark Brown
Acked-by: Peter Ujfalusi
15 Jul, 2013
1 commit
12 Jul, 2013
4 commits
-
The DMA resource no longer available via this API when booting with DT.
When the board is booted with DT do not use platform_get_resource_byname(),
instead set the dma_data.filter_data to the name of the DMA channel and omap-pcm
can use this name to request the DMA channel.Signed-off-by: Peter Ujfalusi
Reviewed-by: Lars-Peter Clausen
Signed-off-by: Mark Brown -
The DMA resource no longer available via this API when booting with DT.
DMIC is only available on OMAP4/5 and both can boot with DT only.
Set the dma_data.filter_data to the DMA name which will be used by omap-pcm
to request the DMA channel.Signed-off-by: Peter Ujfalusi
Reviewed-by: Lars-Peter Clausen
Signed-off-by: Mark Brown -
The DMA resource no longer available via this API when booting with DT.
McPDM is only available on OMAP4/5 and both can boot with DT only.
Set the dma_data.filter_data to the DMA name which will be used by omap-pcm
to request the DMA channel.Signed-off-by: Peter Ujfalusi
Reviewed-by: Lars-Peter Clausen
Signed-off-by: Mark Brown -
When booting with DT the platform_get_resource_byname() is not available to
get the DMA resource. In this case the DAI drivers will set the filter_data to
the name of the DMA and omap-pcm can use this to request the DMA channel.Signed-off-by: Peter Ujfalusi
Reviewed-by: Lars-Peter Clausen
Signed-off-by: Mark Brown
04 Jul, 2013
1 commit
-
We still need video & sound drivers with device tree enabled.
Signed-off-by: Pavel Machek
Signed-off-by: Tony Lindgren
22 Jun, 2013
1 commit
-
Replace the leftover CONFIG_SND_SOC_OMAP_HDMI_CODEC in
sound/soc/omap/Kconfig with CONFIG_SND_SOC_HDMI_CODEC, which was
forgotten in the commit bf7c6e6c.Signed-off-by: Takashi Iwai
18 Jun, 2013
1 commit
05 Jun, 2013
1 commit
-
to support HDMI on CSR SiRFprimaII and atlasVI, we need one more HDMI pseudo
codec, rather than add a new driver, we can make omap HDMI codec common for
other SoCs as well. then the omap-hdmi codec becomes a generic HDMI pseudo-
codec as HDMI audio features depend on HDMI specification not on SoCs.Signed-off-by: Barry Song
Signed-off-by: Mark Brown
30 May, 2013
1 commit
-
Support for omap2evm was removed in v3.0. But only one of its two
lines in this Makefile was removed. Remove the second line too.Signed-off-by: Paul Bolle
Acked-by: Jarkko Nikula
Signed-off-by: Mark Brown
13 May, 2013
1 commit
-
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.Signed-off-by: Sachin Kamat
Signed-off-by: Mark Brown
18 Apr, 2013
1 commit
-
…e/sound into for-next
ASoC: More updates for v3.10
The main additional change here is Lars-Peter's DMA work plus the
platform conversions which have been tested - getting this in mainline
will make life easier for development after the merge window. These
factor a large chunk of code out of the drivers for the platforms using
dmaengine, greatly simplifying development.
17 Apr, 2013
1 commit
-
Refactor the dmaengine PCM library to allow the DMA channel to be requested
before opening a PCM substream. snd_dmaengine_pcm_open() now expects a DMA
channel instead of a filter function and filter parameter as its parameters.
snd_dmaengine_pcm_close() is updated to not release the DMA channel. This allows
a dmaengine based PCM driver to request its channels before the substream is
opened.The patch also introduces two new functions, snd_dmaengine_pcm_open_request_chan()
and snd_dmaengine_pcm_close_release_chan(), which have the same signature and
behaviour of the old snd_dmaengine_pcm_{open,close}() and internally use the new
variants of these functions. All users of snd_dmaengine_pcm_{open,close}() are
updated to use snd_dmaengine_pcm_open_request_chan() and
snd_dmaengine_pcm_close_release_chan().Signed-off-by: Lars-Peter Clausen
Tested-by: Stephen Warren
Tested-by: Shawn Guo
Signed-off-by: Mark Brown
12 Apr, 2013
1 commit
04 Apr, 2013
2 commits
-
Use the common DAI DMA data struct for omap, this allows us to use the common
helper function to configure the DMA slave config based on the DAI DMA data.For omap-dmic and omap-mcpdm also move the DMA data from a global variable to
the driver state struct.Signed-off-by: Lars-Peter Clausen
Acked-by: Peter Ujfalusi
Acked-by: Jarkko Nikula
Signed-off-by: Mark Brown
27 Mar, 2013
4 commits
-
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
26 Mar, 2013
2 commits
-
If a PCM driver using the dmaengine PCM helper functions doesn't need to do
anything special in its pcm_close callback, snd_dmaengine_pcm_close can be used
directly for as the pcm_close callback and there is no need to wrap it in a
custom function.Signed-off-by: Lars-Peter Clausen
Acked-by: Peter Ujfalusi
Acked-by: Jarkko Nikula
Signed-off-by: Mark Brown -
The omap PCM driver provides a set_threshold callback which gets called by the
PCM driver when either playback or capture is started. The only DAI driver which
sets this callback is the mcbsp driver. This patch removes the callback from the
PCM driver and moves the invocation of the omap_mcbsp_set_threshold() function
to the mcbsp hw_params callback since this is the only place where the threshold
size can change. Doing so allows us to use the default dmaengine PCM trigger
callback in the omap PCM driver.Signed-off-by: Lars-Peter Clausen
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown
20 Mar, 2013
3 commits
-
The IO address is no longer hardwired into the driver.
Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
Due to HW limitation within OMAP McPDM IP uplink and downlink need to be
started at the same time. This causes issues when we have two streams
running, for example:
arecord | aplayIn this case the playback stream would have no channels enabled since at the
capture start we are not aware that a playback is going to start.The workaround is to configure the other direction to stereo when the first
stream is started. When the second stream is coming we check the new stream's
number of channels against the pre-configured channels. If it does not match
we stop and restart McPDM to update the configuration. This might result a
small pop. If the coming stream is a match we do nothing in the McPDM driver.This workaround can handle most use cases without the need to restart McPDM.
Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
mcpdm_link_config will collect the link direction related configurations like
channel masks, FIFO threshold.Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown
13 Mar, 2013
1 commit
-
Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.Signed-off-by: Silviu-Mihai Popescu
Acked-by: Jarkko Nikula
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown
06 Mar, 2013
1 commit
-
Fixes:
sound/soc/omap/omap3pandora.c: In function ‘omap3pandora_dac_event’:
sound/soc/omap/omap3pandora.c:92:19: error: request for member ‘dev’ in something not a structure or union
make[3]: *** [sound/soc/omap/omap3pandora.o] Error 1Which is introduced by:
dd194b4 ASoC: omap: Check regulator enable for DAC on PandoraSigned-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown
04 Mar, 2013
3 commits
-
This will probably never fail but it's better style.
Signed-off-by: Mark Brown
Acked-by: Peter Ujfalusi
Acked-by: Jarkko Nikula -
Clean up dmic code with devm_request_and_ioremap function.
Signed-off-by: Sebastien Guiriec
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
Clean up McPDM driver with devm_ function.
Signed-off-by: Sebastien Guiriec
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown
13 Feb, 2013
1 commit
12 Feb, 2013
1 commit
-
Remove unused memory ressource get from McPDM driver.
Signed-off-by: Sebastien Guiriec
Acked-by: Peter Ujfalusi
Signed-off-by: Mark Brown