Age | Commit message (Collapse) | Author |
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Utilize a platform_device ID when creating the device. This is to
allow to other SDP and Panda machine drivers to connect to soc-audio.
New machine drivers must use different platform_device IDs if they
need to coexist with existing ASoC machine drivers.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
|
Remove HDMI CPU DAI from SDP4430 machine driver. A different machine
driver is use for HDMI audio.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
|
Update Makefile and Kconfig to build HDMI audio support for
OMAP4 SDP and Panda boards.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
|
Add machine driver for HDMI on OMAP4 for SDP and Panda boards.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
|
Add header with definitions for the ASoC HDMI CPU DAI.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
|
|
Update Makefile and Kconfig to build HDMI audio support for
OMAP4 SDP and Panda boards.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
and DL
Due to HW bug on McPDM CTRL register both UL and DL channels need
to be configure at the same time. If the channels are not
configured at the same time so side effect can be muting in
Uplink or loud noise in downlink during stress test transition
between UL and Downlink. Each time McPDM is started both UL and
DL channels are enabled to work around the problem.
This patch is also remote the DC OFFSET interface as it is not
working correctly and connot be used. So there is no need for the
driver to configure it.
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
|
|
Modem DAI is a special case because requires explicit ALSA PCM
calls to the DAI associated with the serial port (e.g. McBSP).
The trigger() call was missing and the serial port was not
initiating any transfer.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
MODEM DAI needs to support 2 channels for dual-mic on capture
and to set the McBSP interface as I2S.
Signed-off-by: Francois Mazard <f-mazard@ti.com>
|
|
Change-Id: Ifb0cc1f0376aa3bbe3e644cefba011697bbf5f7b
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
|
|
|
|
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
|
|
legacy mode
Add microphone bias for digital microphone in legacy mode.
Change-Id: Idc37babbf7acd552c6fbefe51315492e861116eb
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
Blaze/SDP4430 contains DMic0, DMic1 and DMic2 interfaces, which
are supplied by Digital Mic Bias 1 from TWL6040. An alternate
second digital microphone bias could be used from Digital Mic
Bias 2, but it's currently not installed in application board.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
This enables the handsfree coost converter on the sdp4430.
TODO: Make this use DAPM, make I2C logic sdp4430 only
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Add full support for ABE Frontend and Backend DAIs.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Add ABE port manager to manage ABE port resources for the ABE
DAI driver, ABE platform driver and ABE firmware interface.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
really stopped (fixme)
Make sure OMAP self linked DMA is really stopped.
FIXME: this needs a counter so we dont lock up.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
To be moved to DAI drivers.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Add both legacy DMA and ABE support for Digital Microphones on the
OMAP4 platform.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
This patch adds the OMAP4 ABE platform driver. This driver defines and
exports control for the DSP Frontend and Backend routing.
TODO: cleanup
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
This patch adds support for the OMAP4 ABE DSP Frontend DAIs.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
This driver replaces the legacy McPDM driver in that it supports both
legacy and ABE McPDM support.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
This allows the DSP core to call a beskope trigger() call
on DAIs and platforms that require it.
TODO: move into DSP patch series.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Allow DAI's to be hostless so that no PCM data is sent between DAI
and CPU. This allows for power savings as there is no DMA or CPU
interaction required.
TODO: we shouldn't need to allocate a PAGE for a dummy DMA buffer.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
(temporary)
This stops userspace opening backlemd PCMs.
TODO: rework for upstream.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Allow some PCM devices to be hostless, i.e. there is no PCM data transferred
to or from the host CPU. This can be used to minimise power on systems since
the CPU can idle/sleep during the PCM device operation (e.g. a phone call
where the DAI is between a MODEM and DSP)
TODO: cleanup, look at adding a read/write blocker.
Singed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
|
|
TODO: First phase of dynamic kcontrols. More todo.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
DSP components can have DAIs that can exist in either the CODEC driver or
platform DAI driver. Simplify DAI refcounting logic by ref counting all
(CODEC and platform) DAIs in each sound card.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Add DSP support to ASoC core.
This adds a NULL CODEC driver allow binding and configuration of
DSP DAIs, configures the PCM for DSP, initilaises the DSP state
variables and managed the DSP DAI link registration.
TODO: come cleanup and refactor some variable names.
TODO: split out with previous patch into smaller patches.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Export inline DAI PCM operations to allow DSP core to individually call BE PCM
operations and ....
Allow machine drivers to specifify DSP FE and BE DAI links.
Add FE and BE state information to PCM rtd.
TODO: split out this into smaller patches.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
This adds ASoC core support for internal and external DSPs and represents them
to the audio user as a CODEC like device with mixers, muxes and runtime audio
route changing.
The DSP core allows DSP DAIs to be dynamically re-routed at runtime between the
PCM device end (or Frontend - FE) and the physical DAI (Backend - BE) using
regular kcontrols (just like a hardware CODEC).
The DSP core also deal with DSP FE+BE suspend and resume PM ops.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
events.
In preparation for ASoC DSP support.
Allow for the operation of custom mixer and mux DAPM widgets that can call
snd_soc_dapm_mixer_update_power() and snd_soc_dapm_mux_update_power() directly
after updating their status.
This adds two previously static calls to the public DAPM API.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
In preparation for ASoC DSP support.
Add a DAPM API call to determine whether a DAPM audio path is valid between
source and sink widgets. This also takes into account all kcontrol mux and mixer
settings in between the source and sink widgets to validate the audio path.
This will be used by the DSP core to determine the runtime DAI mappings
between FE and BE DAIs in order to run PCM operations.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
In preparation for ASoC DSP support.
This adds a callback function to be called at the completion of a DAPM stream
event.
This can be used by DSP components to perform calculations based on DAPM graphs.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
from dapm
In preparation for dynamic PCM support (AKA ASoC DSP)
Add methods to get the soc_card and snd_card from a dapm context.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
dapm_seq_run_coalesced.
The list iterator w points to 'pending' list head at the end of
list_for_each_entry and not a valid widget.
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
Enable ramp down/up step to be configured based on
platform.
Signed-off-by: Axel Castaneda Gonzalez <x0055901@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
Set default sysclk constraints to high performance mode.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|