| Commit message (Collapse) | Author | Age |
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert TWL6040 CODEC driver into a TWL6040 MFD child, it implies
that MFD-level operations like register accesses, clock setting
and power management are done through MFD APIs, not directly by
CODEC driver anymore. To avoid conflicts with the other MFD child,
vibrator registers are skipped in CODEC driver.
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>
|
|
|
|
|
|
|
|
|
| |
Rename the driver, and header file from twl4030-codec to
twl4030-audio.
To avoid breakage change depending drivers at the same time.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Misael Lopez Cruz <misael.lopez@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
pass only rtd
Currently pcm_new() passes in 3 arguments :- card, pcm and DAI.
Refactor this to only pass in 1 argument (i.e. the rtd) since struct rtd contains
card, pcm and DAI along with other members too that are useful too.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
|
| |
The card callback will get called for each DAPM context in the card so it
can be useful for it to know which device is currently undergoing a
transition.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
OMAP4 boards
Add machine driver for HDMI audio on OMAP4 boards. This driver is
in charge of putting together the HDMI audio codec and the CPU DAI
and register the HDMI sound card with ALSA.
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>
|
|
|
|
|
|
|
|
|
|
| |
Addition of the HDMI CPU DAI driver for OMAP4. This driver is in
charge of configuring DMA settings for HDMI. Also, it finds
the HDMI video device and determines if audio playback can proceed.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BugLink: http://bugs.launchpad.net/bugs/868628
commit 34c869855a28af3c6031d29e2267b5a3cce0d67d upstream.
Attempt to change McBSP CLKS source while another stream is active is not
safe after commit d135865 ("OMAP: McBSP: implement functional clock
switching via clock framework") in 2.6.37.
CLKS parent clock switching using clock framework have to idle the McBSP
before switching and then activate it again. This short break can cause a
DMA transaction error to already running stream which halts and recovers
only by closing and restarting the stream.
This goes more fatal after commit e2fa61d ("OMAP3: l3: Introduce
l3-interconnect error handling driver") in 2.6.39 where l3 driver detects a
severe timeout error and does BUG_ON().
Fix this by not changing any configuration in omap_mcbsp_dai_set_dai_sysclk
if the McBSP is already active. This test should have been here just from
the beginning anyway.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (33 commits)
OMAP3: PM: Boot message is not an error, and not helpful, remove it
OMAP3: cpuidle: change the power domains modes determination logic
OMAP3: cpuidle: code rework for improved readability
OMAP3: cpuidle: re-organize the C-states data
OMAP3: clean-up mach specific cpuidle data structures
OMAP3 cpuidle: remove useless SDP specific timings
usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
usb: otg: OMAP4430: Fixing the omap4430_phy_init function
usb: musb: am35x: fix compile error when building am35x
usb: musb: OMAP4430: Power down the PHY during board init
omap: drop board-igep0030.c
omap: igep0020: add support for IGEP3
omap: igep0020: minor refactoring
omap: igep0020: name refactoring for future merge with IGEP3
omap: Remove support for omap2evm
arm: omap2plus: GPIO cleanup
omap: musb: introduce default board config
omap: move detection of NAND CS to common-board-devices
omap: use common initialization for PMIC i2c bus
omap: consolidate touch screen initialization among different boards
...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The board support has never been merged for it as noticed
by Russell King <linux@arm.linux.org.uk>. So let's remove the
related dead code.
Cc: linux-fbdev@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Current checks for cpu type were too restrictive leading
to failures for other silicons in same family.
The problem was found while testing audio playback on
AM37x and AM35x processors. But should exist on OMAP36xx
as well.
Signed-off-by: Sanjeev Premi <premi@ti.com>
cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
cc: Liam Girdwood <lrg@ti.com>
cc: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow disabling ALSA period wakeup interrupts.
This can only be done on OMAP2+ (2/3/4), since there
we can chain the DMA.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
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>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
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>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
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>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
|
|
|
|
|
|
| |
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (308 commits)
ALSA: sound/pci/asihpi: check adapter index in hpi_ioctl
ALSA: aloop - Fix possible IRQ lock inversion
ALSA: sound/core: merge list_del()/list_add_tail() to list_move_tail()
ALSA: ctxfi - use list_move() instead of list_del()/list_add() combination
ALSA: firewire - msleep needs delay.h
ALSA: firewire-lib, firewire-speakers: handle packet queueing errors
ALSA: firewire-lib: allocate DMA buffer separately
ALSA: firewire-lib: use no-info SYT for packets without SYT sample
ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver
ALSA: hda - Remove an unused variable in patch_realtek.c
ALSA: hda - pin-adc-mux-dmic auto-configuration of 92HD8X codecs
ALSA: hda - fix digital mic selection in mixer on 92HD8X codecs
ALSA: hda - Move default input-src selection to init part
ALSA: hda - Initialize special cases for input src in init phase
ALSA: ctxfi - Clear input settings before initialization
ALSA: ctxfi - Fix SPDIF status retrieval
ALSA: ctxfi - Fix incorrect SPDIF status bit mask
ALSA: ctxfi - Fix microphone boost codes/comments
ALSA: atiixp - Fix wrong time-out checks during ac-link reset
ALSA: intel8x0m: append 'm' to "r_intel8x0"
...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
McBSP sidetone is needed in telephony applications. McBSP sidetone is a
configurable FIR filter that forms a loopback from McBSP input to output.
This patch enables the McBSP2 sidetone ALSA controls so that it can be used
on Nokia RX-51/N900.
Sidetone feature can be tested with following commands:
(set up codec input and output paths)
# Enable and configure sidetone
amixer -D hw:0 set 'McBSP2 Sidetone' on
amixer set -D hw:0 'McBSP2 Sidetone Channel 0' 32767
echo 32767 >/sys/devices/platform/omap-mcbsp.2/st_taps
# Do not loop audio via CPU
arecord -f dat >/dev/null |aplay /dev/zero
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
|