summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: 24 bits are significant on wm_hubs DAIsMark Brown2012-01-202-1/+9
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make WM8993 I2C usage unconditionalMark Brown2012-01-201-6/+0
| | | | | | The WM8993 only supports I2C so don't ifdef the I2C support in the driver. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Implement basic WM8993 interrupt supportMark Brown2012-01-201-9/+85
| | | | | | | | If an interrupt is supplied then use it for thermal warning and FLL lock notifications. When using the interrupt raise the timeout for the FLL lock substantially to reduce the chances of spurious warnings. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: 24 bits are significant on the WM8996 audio interfacesMark Brown2012-01-201-0/+4
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Allow drivers to specify how many bits are significant on a DAIMark Brown2012-01-202-0/+37
| | | | | | | | | | | | | | | | | | | Most devices accept data in formats that don't correspond directly to their internal format. ALSA allows us to set a msbits constraint which tells userspace about this in case it finds it useful (for example, in order to avoid wasting effort dithering bits that will be ignored when raising the sample size of data) so provide a mechanism for drivers to specify the number of bits that are actually significant on a DAI and add the appropriate constraints along with all the others. This is done slightly awkwardly as the constraint is specified per sample size - we loop over every possible sample size, including ones that the device doesn't support and including ones that have fewer bits than are actually used, but this is harmless as the upper layers do the right thing in these cases. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
* ASoC: Add WM8962 DAC and ADC L/R swap supportMark Brown2012-01-201-0/+2
| | | | | | Simple switches since there's no per-channel control. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: wm8983: Remove useless snd_kcontrolDimitris Papastamos2012-01-201-5/+0
| | | | | | | This must be a leftover from a previous driver. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: jz4740: Convert qi_lb60 to use snd_soc_register_card()Axel Lin2012-01-202-30/+32
| | | | | | | | Use snd_soc_register_card() instead of creating a "soc-audio" platform device. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8962 register access map to modern styleMark Brown2012-01-201-1155/+648
| | | | | | | Much more compact, both in terms of source and especially in terms of RAM used at runtime. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Route Mic Bias in Visstrim_M10 board.Javier Martin2012-01-201-0/+24
| | | | | | | | Visstrim_M10 board uses an external microphone that can be enabled/disabled by the user Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ep93xx: Don't use system controller defines in audio driversRyan Mallon2012-01-204-22/+7
| | | | | | | | | | | | | | Both the Snapper CL15 and EDB93xx audio drivers set the same audio configuration in ep93xx_i2s_acquire. Remove the arguments to ep93xx_i2s_acquire so that the audio drivers no longer need the EP93XX_SYSCON defines exported. Cc: Hartley Sweeten <hsweeten@visionengravers.com> Cc: Mika Westerberg <mika.westerberg@iki.fi> Cc: Liam Girdwood <lrg@ti.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make WM8962 I2C usage unconditionalMark Brown2012-01-201-13/+1
| | | | | | We only support I2C so no need to ifdef. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: CQ93VC: remove machine specific header file inclusion from codec driverManjunath Hadli2012-01-201-2/+0
| | | | | | | | | remove unnecessary inclusion of machine specific header file mach/dm365.h from cq93vc.c voice codec driver which comes in the way of platform code consolidation. Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: utils - Add support for a dummy codec driver.Liam Girdwood2012-01-201-1/+19
| | | | | | | | | | | | This is useful to create dummy codec devices where we need to have some DAI links without a real Codec. e.g. could be used to represent dumb FM, MODEM, etc This is also used by dynamic PCM for DAI links that have no codec. Signed-off-by: Liam Girdwood <lrg@ti.com> [Fixed the indentation -- broonie] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: twl6040 - add method to query HS DC offset step size in mVLiam Girdwood2012-01-202-0/+14
| | | | | | | Provide a method for mach drivers to query the HS DC offset step size in mV. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Optimise performance of WM8904 ADC 128fs OSR modeMark Brown2012-01-202-1/+41
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: core - Improve card registration error messaging for large DAI links.Liam Girdwood2012-01-201-3/+5
| | | | | | | | Print out the offending DAI link entry when a naming error occurs. Makes thing easier to debug for machines with a large number of DAI links. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: replace 0xffffffff with DMA_BIT_MASK macroJoachim Eastwood2012-01-207-12/+12
| | | | | Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: use proper defines for stream directions in pcm enginesJoachim Eastwood2012-01-203-13/+14
| | | | | Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8955 to table based DAPM and control initMark Brown2012-01-201-17/+8
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8955 to direct regmap API usageMark Brown2012-01-201-75/+123
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Use standard register cache sync for WM8955Mark Brown2012-01-201-12/+1
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8955 to devm_kzalloc()Mark Brown2012-01-201-4/+3
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make I2C usage unconditional in WM8955Mark Brown2012-01-201-6/+0
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8940 to devm_kzalloc()Mark Brown2012-01-201-4/+4
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make I2C usage unconditional in WM8940Mark Brown2012-01-201-6/+0
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8904 to direct regmap API usageMark Brown2012-01-201-514/+254
| | | | | | | The device has a very sparse register map so should benefit from using a rbtree cache. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Use standard cache sync for WM8904Mark Brown2012-01-201-27/+1
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8904 to devm_kzalloc()Mark Brown2012-01-201-4/+3
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make WM8904 I2C usage unconditionalMark Brown2012-01-201-6/+0
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8804 to direct regmap API usageMark Brown2012-01-201-53/+62
| | | | | | | The register map for this device is actually fairly sparse so the rbtree should be beneficial. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8804 to devm_kzalloc()Mark Brown2012-01-201-8/+5
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Use standard cache sync for wm8804Mark Brown2012-01-201-19/+1
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Remove wm8974 private dataMark Brown2012-01-201-14/+2
| | | | | | It's only ever referenced when being allocated and freed. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8974 to table based DAPM and control initMark Brown2012-01-201-15/+8
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make wm8974 I2C usage unconditionalMark Brown2012-01-201-6/+0
| | | | | | The driver only supports I2C at present. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8971 to devm_kzalloc()Mark Brown2012-01-201-4/+3
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8971 to table based DAPM and control initMark Brown2012-01-201-16/+8
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Make WM8971 I2C usage unconditionalMark Brown2012-01-201-6/+0
| | | | | | The driver only supports I2C so no need to worry about SPI only systems. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM8753 to direct regmap API usageMark Brown2012-01-201-47/+139
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Move WM8993 resource acquisition and device reset to bus probeMark Brown2012-01-201-40/+49
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8993 to direct regmap API usageMark Brown2012-01-201-149/+271
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Move WM9090 device identification and reset to I2C probeMark Brown2012-01-201-12/+14
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert WM9090 to use regmap directlyMark Brown2012-01-201-114/+128
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Push wm8978 reset down into the I2C probeMark Brown2012-01-201-7/+15
| | | | | | | Ensures that we get control of the CODEC earlier and don't try to probe the card at all if register I/O isn't working. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8978 to direct regmap API usageMark Brown2012-01-202-22/+96
| | | | | | | Helps push the register cache code down out of ASoC and improves resume times by using the more efficient regmap cache sync code. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Use standard cache sync for WM8978Mark Brown2012-01-201-8/+1
| | | | | | Saves a bit of code and supports further refactoring. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8978 to devm_kzalloc()Mark Brown2012-01-201-4/+4
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Convert wm8978 to table based DAPM and control initMark Brown2012-01-201-17/+8
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Remove unused control type from wm8978 driverMark Brown2012-01-201-1/+0
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>