summaryrefslogtreecommitdiffstats
path: root/include/sound/wm8903.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-2.6.38' into for-2.6.39Mark Brown2011-02-131-7/+3
|\
| * ASoC: WM8903: Fix mic detection register definitionsStephen Warren2011-02-131-7/+3
| | | | | | | | | | | | | | | | | | * There is no hysteresis enable field in the current datasheet. * Mic detection threshold field is only 2 bits wide. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: wm8903: Expose GPIOs through gpiolibStephen Warren2011-01-211-1/+19
|/ | | | | | | | | | | Also, update platform_data GPIO handling to have an explicit "don't touch this pin" option. Add #defines for the GPIO pin functions. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Implement interrupt driven microphone detection for WM8903Mark Brown2010-03-161-0/+2
| | | | | | | | Support use of the WM8903 IRQ for reporting of microphone presence and short detection. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
* ASoC: Add WM8903 interrupt supportMark Brown2010-03-161-0/+2
| | | | | | | Currently used to detect completion of the write sequencer. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
* ASoC: Initial WM8903 microphone bias and short detectionMark Brown2010-03-161-0/+29
| | | | | | | | | Provide support for WM8903 microphone presence and short detection using the GPIOs to route out a logic signal suitable for handling using snd_soc_jack_add_gpios() on the processor GPIOs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
* ASoC: Add GPIO configuration support for WM8903Mark Brown2010-03-161-0/+216
Allow users to pass in a default configuration for the GPIOs of the WM8903 as platform data. This allows configuration of the pin muxing of the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>