aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-10Merge remote-tracking branch 'asoc/topic/si476x' into asoc-nextMark Brown3-0/+261
2012-12-10Merge remote-tracking branch 'asoc/topic/samsung' into asoc-nextMark Brown46-157/+292
2012-12-10Merge remote-tracking branch 'asoc/topic/rt5631' into asoc-nextMark Brown1-1/+1
2012-12-10Merge remote-tracking branch 'asoc/topic/omap' into asoc-nextMark Brown1-0/+26
2012-12-10Merge remote-tracking branch 'asoc/topic/max98090' into asoc-nextMark Brown3-0/+583
2012-12-10Merge remote-tracking branch 'asoc/topic/max9768' into asoc-nextMark Brown1-5/+2
2012-12-10Merge remote-tracking branch 'asoc/topic/log' into asoc-nextMark Brown5-284/+309
2012-12-10Merge remote-tracking branch 'asoc/topic/lm49453' into asoc-nextMark Brown1-8/+2
2012-12-10Merge remote-tracking branch 'asoc/topic/kirkwood' into asoc-nextMark Brown3-94/+168
2012-12-10Merge remote-tracking branch 'asoc/topic/jz4740' into asoc-nextMark Brown2-83/+60
2012-12-10Merge remote-tracking branch 'asoc/topic/jack' into asoc-nextMark Brown1-3/+0
2012-12-10Merge remote-tracking branch 'asoc/topic/hotplug' into asoc-nextMark Brown12-22/+22
2012-12-10Merge remote-tracking branch 'asoc/topic/fsl' into asoc-nextMark Brown6-3/+418
2012-12-10Merge remote-tracking branch 'asoc/topic/fsi' into asoc-nextMark Brown2-69/+487
2012-12-10Merge remote-tracking branch 'asoc/topic/dmaengine' into asoc-nextMark Brown1-0/+2
2012-12-10Merge remote-tracking branch 'asoc/topic/davinci' into asoc-nextMark Brown7-97/+158
2012-12-10Merge remote-tracking branch 'asoc/topic/da9055' into asoc-nextMark Brown1-13/+30
2012-12-10Merge remote-tracking branch 'asoc/topic/da7210' into asoc-nextMark Brown1-21/+3
2012-12-10Merge remote-tracking branch 'asoc/topic/cs4271' into asoc-nextMark Brown3-3/+21
2012-12-10Merge remote-tracking branch 'asoc/topic/atmel' into asoc-nextMark Brown32-611/+1108
2012-12-10Merge remote-tracking branch 'asoc/topic/arizona' into asoc-nextMark Brown12-58/+586
2012-12-10Merge remote-tracking branch 'asoc/topic/ak4642' into asoc-nextMark Brown1-21/+2
2012-12-10Merge remote-tracking branch 'asoc/topic/ak4535' into asoc-nextMark Brown1-6/+1
2012-12-10Merge remote-tracking branch 'asoc/topic/ak4104' into asoc-nextMark Brown2-17/+70
2012-12-10Merge remote-tracking branch 'asoc/topic/adsp' into asoc-nextMark Brown6-33/+1461
2012-12-10Merge remote-tracking branch 'asoc/topic/ab8500' into asoc-nextMark Brown1-1/+1
2012-12-10Merge remote-tracking branch 'asoc/fix/omap' into asoc-nextMark Brown6-17/+13
2012-12-09ASoC: wm5110: Enable volume ramp controlMark Brown1-0/+6
Signed-off-by: Mark Brown <[email protected]>
2012-12-09ASoC: wm5102: Enable volume ramp controlMark Brown1-0/+6
Signed-off-by: Mark Brown <[email protected]>
2012-12-09ASoC: arizona: Add volume ramp controlsMark Brown2-0/+31
Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: Samsung: Do not register samsung audio dma device as pdevPadmavathi Venna45-72/+105
Previously, the ASoC 'platform' (PCM/DMA) object was instantiated via a platform_device. This didn't represent the hardware well, since there was no separate hardware associated with this platform_device; it was a virtual device with sole purpose to call snd_soc_register_platform(). This change removes the platform_device completely. Each Samsung DAI now registers the ASoC 'platform' itself. Machine drivers are adjusted for the new 'platform' name. Signed-off-by: Padmavathi Venna <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: McASP: implement a way to force BCLK/LRCLK ratiosDaniel Mack2-0/+16
Depending on the Codec, the the BCLK/LRCLK ratio might not be freely chosen by the CPU DAI. For example, some Codec might want to be supplied with 32-bit samples for both its channels regardless of the actual audio word size the CPU sends. In such cases, the rest of the bits on the data lines must be padded with zeros: _______________________________ LRCLK / \ --' `---------- ..... BCLK ||||||||||||||||||||||||||||||||||||||||||||||| ..... DATA ____||||||||||||||||_________________|||||||||| ..... |<-- data -->|<-- pads --> | This patch adds a new clock divider to configure the BCLK/LRCLK ratio. If the machine code uses that divider, the driver uses the specified value, instead of deriving that information from the audio word size. Otherwise, the original behaviour is retained. Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: McASP: calculate values for channel sizeDaniel Mack2-63/+10
Change davinci_config_channel_size() to derive the values for XSSZ and XROT in DAVINCI_MCASP_[RT]XFMT_REG from the configured word length rather than hard-coding them in a switch/case block. Also, by directly passing the word length to davinci_config_channel_size(), we can get rid of the DAVINCI_AUDIO_WORD_* enum. Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: McASP: remove unused variablesDaniel Mack3-4/+0
codec_fmt and sample_rate variables are unused in both snd_platform_data and davinci_audio_dev, so drop them. Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: omap-twl4030: Update the header file to support more boardsPeter Ujfalusi1-0/+26
The common machine driver will be able to support new boards where the voice port is also in use. At the same time add possibility to fine tune the connections from twl4030 on the board: jack detection GPIO, input/output selection Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: arizona: Log the clock we're setting the DAI to useMark Brown1-0/+3
Useful for diagnostics. Signed-off-by: Mark Brown <[email protected]>
2012-12-07ASoC: arizona: Store the DAI clock ID when settingMark Brown1-0/+2
So the code to suppress duplicate changes is effective. Reported-by: Kyung Kwee Ryu <[email protected]@wolfsonmicro.com> Signed-off-by: Mark Brown <[email protected]>
2012-12-06ASoC: arizona: Make FLL lock timeout very highMark Brown1-1/+1
Provide robustness against low quality FLL sync clocks by increasing the timeout for lock to an absurdly high point; we should never get anywhere near hitting the timeout in a real system unless it is failing. Signed-off-by: Mark Brown <[email protected]>
2012-12-06ASoC: wm5110: Add LHPF coefficient configurationMark Brown1-0/+5
Signed-off-by: Mark Brown <[email protected]>
2012-12-06ASoC: wm5110: Add EQ coefficient configurationMark Brown1-0/+9
Signed-off-by: Mark Brown <[email protected]>
2012-12-06ASoC: wm5102: Make EQ coefficents configurableMark Brown1-0/+9
Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: zoom2: Remove HS mux GPIO handling to avoid kernel crash due to BUG_ON()Peter Ujfalusi1-7/+0
The machine driver try to use GPIO15 of twl4030 for HS MUX which supposed to select between TWL's HSOL/R and tlv320aic3254's HPL/R. The TWL's GPIO allocated dynamically so the (OMAP_MAX_GPIO_LINES + 15) is no longer valid GPIO number causing a kernel crash due to BUG_ON() Also the current machine driver supports only TWL audio currently: there is no need to control the GPIO. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: da7210: Remove unnecessary regmap_exit callSachin Kamat1-10/+1
Use of devm_regmap_init_spi does not require an explicit regmap_exit call. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm8994: Allow microphone identification callback to be overriddenMark Brown3-8/+22
Allow custom accessory identification mechanisms to make use of the MICDET support in the device. Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm8994: Check jack is inserted when handling mic IRQMark Brown1-0/+12
If we've got jack detection support then check that the jack is still inserted when handling a mic IRQ in order to avoid transient reports caused by shorts during the removal process as the two interrupts race with each other. Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm8994: Support custom accessory identification for WM1811AMark Brown2-17/+25
Allow the user to override the accessory identification code with their own implementation if the system provides an alternative method. Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm8994: Simplify button detection codeMark Brown2-52/+37
Currently the WM8994 driver allows the WM8958 microphone detection code to be replaced in its entirety, providing a default implementation. This doesn't actually reflect the needs of users well. They generally wish to replace only the accessory identification parts of the algorithm (eg, using an external GPIO to provide the equivalent of the JACKDET support in the WM1811A). In preparation for supporting these users better refactor the existing code so that we have separate identification and button detection callbacks, selecting between them rather than using the mic_detecting flag in the existing callback. This also simplifies the code by introducing a more explicit state machine for the detecting and button states. In anticipation of future refactoring the callback is left in the signature for wm8958_mic_detect(), it will be removed at a later stage. Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm8994: Stop mic detection whenever we detect an open circuitMark Brown1-25/+31
Jack detection will not do anything to help us detect a microphone when there is a fault in the cable and the debounce we have is enough to avoid getting an intermediate result so halt microphone detection when we detect that one is not present. Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: wm5102: Add support for configuring LHPF coefficientsMark Brown1-0/+5
Signed-off-by: Mark Brown <[email protected]>
2012-12-03ASoC: adsp: Set DSP clock rate to SYSCLK rateMark Brown1-0/+22
For simplicity always run the DSP at the SYSCLK rate. Signed-off-by: Mark Brown <[email protected]>