aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-09ARM: pxa: Fix build error caused by sram.h renameChris Ball1-1/+1
Commit 293b2da1b61 ("ARM: pxa: move platform_data definitions") renamed arch/arm/mach-mmp/include/mach/sram.h to include/linux/platform_data/dma-mmp_tdma.h, but didn't update mmp-pcm.c which uses the header. Fix the build error. Signed-off-by: Chris Ball <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-10-05ASoC: wm2200: Fix non-inverted OUT2 mute controlMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-10-05ASoC: wm2200: Use rev A register patches on rev BMark Brown1-0/+1
Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-10-05ASoC: bells: Correct typo in sub speaker DAI name for WM5110Mark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]>
2012-10-04Merge branches 'asoc-twl6040' and 'asoc-omap' into for-3.7Mark Brown4-41/+45
2012-10-04ASoC: ams-delta: Convert to use snd_soc_register_card()Janusz Krzysztofik2-33/+42
The old method of registering with the ASoC core by creating a "soc-audio" platform device no longer works for Amstrad Delta sound card after recent changes to drvdata handling (commit 0998d0631001288a5974afc0b2a5f568bcdecb4d, 'device-core: Ensure drvdata = NULL when no driver is bound'. Use snd_soc_register_card() method instead, as suggested by the ASoC core generated warning message, and move both the card and codec platform device registration to the arch board file where those belong. Created and tested against linux-3.6-rc5. Signed-off-by: Janusz Krzysztofik <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-10-04ASoC: omap-mcpdm: Remove OMAP revision checkPeter Ujfalusi1-7/+2
The OMAP revision check is not needed since the watchdog bit is not in use on 4430 ES1.0 and have no effect when we set the bit. The watchdog need to be enabled on all other revisions. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-10-04ASoC: Fix wrong include for McPDMTony Lindgren1-1/+1
McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h. Drivers must not include omap_hwmod.h at, it will be private to mach-omap2 soon. Fix the problem before other drivers will also start including omap_hwmod.h. Note that also plat/cpu.h will be going away, so the omap_rev check needs to be replaced with mcpdm-watchdog flag from platform_data or DT. Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-10-04ASoC: omap-abe-twl6040: Fix typo of VibratorPeter Ujfalusi1-1/+1
It is not Vinrator but Vibrator. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-10-04ASoC: twl6040: Fix Stream DAPM mappingPeter Ujfalusi1-4/+4
Fixes commit: 805238b ASoC: twl6040: Convert to use DAI DAPM widgets where the connection between the stream widgets and the ADC widgets was reversed and because of this on capture the DAPM is not powering up the codec. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-28ASoC: codecs: Add DA9055 codec driverAshish Chavan4-0/+1549
This patch adds support for Dialog semiconductor's DA9055 audio codec. This has been tested on DA9055 EVB with Samsung SMDK6410 board. Signed-off-by: Ashish Chavan <[email protected]> Signed-off-by: David Dajun Chen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-28ASoC: eukrea-tlv320: Convert it to platform driverFabio Estevam5-18/+23
Convert eukrea-tlv320 to platform driver. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-28ALSA: ASoC: add DT bindings for CS4271Daniel Mack2-3/+57
Apart from pure matching, the bindings also support setting the the reset gpio line. Signed-off-by: Daniel Mack <[email protected]> Cc: Alexander Sverdlin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-28ASoC: wm_hubs: Ensure volume updates are handled during class W startupMark Brown1-0/+5
In some circumstances we may need to flush volume updates to the device after switching to class W mode. Do this unconditionally to ensure that these situations are handled. Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-09-27ASoC: wm5110: Adding missing volume update bitsCharles Keepax1-0/+4
The volume update bits were being set on all but one input and one output. Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-09-26ASoC: wm5110: Add OUT3R supportMark Brown1-0/+4
Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm5110: Add AEC loopback supportMark Brown1-0/+24
Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm5110: Rename EPOUT to HPOUT3Mark Brown1-15/+30
The third output on WM5110 is a general purpose headphone output which can be used to drive an earpice rather than a dedicated earpiece driver. Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: arizona: Add more clock ratesMark Brown1-0/+6
Some devices support additional clock rates. Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: arizona: Add more DSP options for mixer input muxesMark Brown2-1/+37
Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm0010: Initialise chip state before we register the interruptMark Brown1-5/+2
The interrupt handler uses the chip state. Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm0010: Don't check if reset GPIO is defined when removingMark Brown1-5/+2
We will fail to probe without one. Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm0010: Allow slow GPIO for resetMark Brown1-3/+5
We never set the GPIO from atomic context so there's no reason why we can't support a GPIO that needs to sleep when configuring. Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm5110: Enable bypass mode for MICVDDMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: wm5102: Enable bypass mode for MICVDDMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]>
2012-09-26ASoC: dapm: Allow regulators to bypass as well as disable when idleMark Brown2-2/+24
Allow regulators managed via DAPM to make use of the bypass support that has recently been added to the regulator API by setting a flag SND_SOC_DAPM_REGULATOR_BYPASS. When this flag is set the regulator will be put into bypass mode before being disabled, allowing the regulator to fall into bypass mode if it can't be disabled due to other users. Signed-off-by: Mark Brown <[email protected]>
2012-09-26Merge tag 'bypass' of ↵Mark Brown9-0/+193
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into for-3.7 regulator: Bypass mode support Allow regulators to be put into a non-regulating mode bypassing the input straight to the output, mostly used by low power retention modes.
2012-09-25ASoC: cs4270: Remove mono supportFabio Estevam1-2/+2
According to cs4270 datasheet, there is no reference to mono mode. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Timur Tabi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22Merge remote-tracking branch 'asoc/topic/ux500' into for-3.7Mark Brown10-108/+292
2012-09-22ASoC: wm2000: Add regulator supportMark Brown1-6/+47
Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: wm2000: Convert to devm_regmap_init_i2c()Mark Brown1-9/+4
Signed-off-by: Mark Brown <[email protected]>
2012-09-22Merge tag 'v3.6-rc6' into for-3.7Mark Brown510-2091/+4109
Linux 3.6-rc6 has all our bug fixes. Conflicts (trivial overlap): sound/soc/omap/am3517evm.c
2012-09-22ASoC: twl4030: Support for DT booted kernelPeter Ujfalusi1-8/+47
When the kernel has been booted with DT blob the platform data is NULL for the driver. We need to construct the pdata based on the DT information for runtime use. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: twl4030: Add pointer to pdata within the private dataPeter Ujfalusi1-7/+7
Access the pdata via a pointer within the twl4030_priv structure. In preparation for DeviceTree support. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: twl4030: Convert to use devm_kzallocPeter Ujfalusi1-2/+2
Allocate the private data with devm_kzalloc. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC/mfd: twl4030: Remove set_hs_extmute callback from platform dataPeter Ujfalusi2-8/+0
We no longer have users for the set_hs_extmute callback which has been replaced by hs_extmute_gpio so the codec driver can handle the external mute if it is needed by the board. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ARM: OMAP/ASoC: Zoom2: Let the codec to handle the hs_extmute GPIOPeter Ujfalusi3-13/+2
Remove the use of set_hs_extmute callback and let the codec driver to handle the extmute GPIO. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: twl4030: Move hs_extmute GPIO handling to driverPeter Ujfalusi2-3/+33
The external mute (if it is in use) is handled by a GPIO line. Prepare to remove the set_hs_extmute callback and replace it with: hs_extmute_gpio: the GPIO number to use for external mute When the users of set_hs_extmute has been converted the callback can be removed. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22Input: twl4030-vibra: Support for DT booted kernelPeter Ujfalusi1-2/+16
Add support when the kernel has been booted with DT blob. In this case the pdata is NULL, we need to reach up to the core node and check if the codec part has been enabled to determine if we need to coexist with the codec or not. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl4030-audio: Add DT supportPeter Ujfalusi2-7/+93
Support for loading the twl4030 audio module via devicetree. Sub devices for codec and vibra will be created as mfd devices once the core MFD driver is loaded when the kernel is booted with a DT blob. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22dt: Add empty of_find_node_by_name() functionPeter Ujfalusi1-0/+6
This commit adds an empty of_find_node_by_name() function for !CONFIG_OF builds. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl4030-audio: Get audio MCLK via twl-core API instead of pdataPeter Ujfalusi1-1/+1
twl-core has API to get the boot time configured HFCLK rate which has the same rate as the audio MCLK. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl-core: Add API to query the HFCLK ratePeter Ujfalusi2-0/+33
CFG_BOOT register's HFCLK_FREQ field hold information about the used HFCLK frequency. Add possibility for users to get the configured rate based on this register. This register was configured during boot, without it the chip would not operate correctly, so we can trust on this information. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl4030-audio: Rearange and clean-up the probe functionPeter Ujfalusi1-18/+16
To facilitate the device tree support the probe function need to be rearanged. Small cleanup in the APLL frequency selection part as well. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl4030-audio: Convert to use devm_kzallocPeter Ujfalusi1-9/+6
To clean up the module probe and remove functions. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22mfd: twl4030-audio: Clean up MODULE_* and platform_driver partPeter Ujfalusi1-4/+4
Place the MODULE_* lines in the same block and add MODULE_DESCRIPTION. Rearange the platform_driver structure at the same time. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: omap-pcm: Convert to use dmaenginePeter Ujfalusi2-211/+61
Original author: Russell King <[email protected]> Switch the omap-pcm to use dmaengine. Certain features are not supported by after dmaengine conversion: 1. No period wakeup mode DMA engine has no way to communicate this information through standard channels. Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: OMAP: mcbsp, mcpdm, dmic, hdmi: Set dma_data at startup timePeter Ujfalusi4-15/+21
Set the dma_data for the stream (snd_soc_dai_set_dma_data) at dai_startup time so omap-pcm will have access to the needed information regarding to the DMA channel earlier. This is needed for the clean dmaengine support. Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_typePeter Ujfalusi3-4/+5
Instead of the OMAP DMA data type definition the data_type will be used to specify the number of bits the DMA word should be configured or 0 in case when based on the stream's format the omap-pcm can decide the needed DMA word size. This feature is needed for the omap-hdmi where the sDMA need to be configured for 32bit word type regardless of the audio format used. Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-09-22ASoC: OMAP: mcbsp, mcpdm, dmic: Let omap-pcm to pick the dma_typePeter Ujfalusi3-8/+0
omap-pcm can figure out the correct dma_type based on the stream's format. In this way we can get rid of the plat/dma.h include from these drivers. Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Mark Brown <[email protected]>