Mark Brown
45a690f6bc
ASoC: wm8994: Add bytes controls for DRC
...
If DRC coefficients are not configured via platform data then add bytes
controls for them instead so they can be configured by applications. This
is the normal means of controlling things like this for newer systems, we
maintain compatibility with platform data to avoid disruption to existing
systems.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-17 22:40:53 +01:00
Mark Brown
939d5044b1
ASoC: wm5102: Remove DRC2
...
It will be removed from future device revisions.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-17 22:38:27 +01:00
Mark Brown
a3150f0917
ASoC: wm5102: Add AEC routing control
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-17 22:32:59 +01:00
Mark Brown
17c3f7e8f3
ASoC: wm5110: Add missing input PGA routes
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-13 13:27:30 +01:00
Mark Brown
14ebd8a8c1
ASoC: wm5102: Add missing input PGA routes
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-13 13:27:29 +01:00
Mark Brown
94237f8e8e
ASoC: wm5110: Enable output clocks
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-09 19:34:30 +01:00
Mark Brown
c665d1a8c4
ASoC: wm5102: Enable output clocks
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-09 19:34:29 +01:00
Mark Brown
cbd840dade
ASoC: arizona: Implement OPCLK support
...
Arizona devices support two output system clocks. Provide support for
configuring these via set_sysclk(). Once the clock API is more useful
we should migrate over to that.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-09 19:34:28 +01:00
Chris Rattray
15676937e6
ASoC: wm8994: Add missing dapm routes for WM8958 rev A
...
Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-09 14:21:47 +01:00
Mark Brown
52c0eee332
ASoC: wm8962: Don't duplicate bias level management in resume
...
The core will bring the bias level up for us since we use idle_bias_off,
duplicating this may be harmful.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-09 14:11:10 +01:00
Sachin Kamat
209ffe19ff
ASoC: cs42l52: Remove duplicate inclusion of slab.h header file
...
slab.h header file was included twice.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-07 15:09:25 +01:00
Sachin Kamat
f062e2b641
ASoC: tpa6130a2: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:36 +01:00
Sachin Kamat
cee4fcfa9d
ASoC: cs42l51: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
a8af02cf62
ASoC: max98095: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
2be59418f7
ASoC: wm8974: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
3c010e60ee
ASoC: wm8960: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
d0b2d4fabb
ASoC: adau1373: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
5c86ea44bb
ASoC: wm8903: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:35 +01:00
Sachin Kamat
8b08eb28c7
ASoC: wm8961: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
794836b959
ASoC: wm8940: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
3a4bfd88af
ASoC: wm2000: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
a9418ddca6
ASoC: wm2200: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
07c9c32be0
ASoC: wm8955: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
2342a07f2c
ASoC: max98088: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:34 +01:00
Sachin Kamat
0b34ac810a
ASoC: wm8978: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
f6ec139f2d
ASoC: lm4857: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
0ecbbb4fe5
ASoC: ak4671: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
28285b96c9
ASoC: wm8971: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
4abdc8c8fd
ASoC: max9850: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
beb22de07e
ASoC: adau1701: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:33 +01:00
Sachin Kamat
63a47a7544
ASoC: tlv320dac33: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
0ead1136bd
ASoC: sta32x: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
fd39d14b96
ASoC: tlv320aic3x: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
5e383f53e8
ASoC: cs4270: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
38ece8db99
ASoC: wm8991: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
96124c2910
ASoC: wm9090: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:32 +01:00
Sachin Kamat
a3627e9c0a
ASoC: max9877: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:31 +01:00
Sachin Kamat
3b09efd1de
ASoC: tlv320aic32x4: Use module_i2c_driver
...
module_i2c_driver makes the code simpler by eliminating module_init
and module_exit calls.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-06 15:20:30 +01:00
Mark Brown
1427cc37b6
ASoC: sta529: Staticise non-exported codec driver struct
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:04:01 +01:00
Mark Brown
689185b78b
ASoC: wm9712: Fix name of Capture Switch
...
Help UIs associate it with the matching gain control.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:04:00 +01:00
Mark Brown
9a37eae230
ASoC: wm9712: Fix funky indentation
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:04:00 +01:00
Daniel Mack
02286190f3
ASoC: Add reset-gpio DT property to cs4270 driver
...
In the process of moving over from static board files to the device
tree, reset pins of peripheral reset pins should be handled by their
corresponding drivers.
Add a reset-gpio DT property to the cs4270 driver, and de-assert it
before probing the chip. The logic could be augmented some day to
re-assert it when codec is put to suspend.
Signed-off-by: Daniel Mack <zonque@gmail.com >
Acked-by: Timur Tabi <timur@freescale.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:59 +01:00
Daniel Mack
85d07e4d62
ASoC: add DT bindings for cs4270
...
Signed-off-by: Daniel Mack <zonque@gmail.com >
Acked-by: Timur Tabi <timur@freescale.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:58 +01:00
Chris Rattray
d9f34df782
ASoC: wm8994: enable mic and short detect debounce.
...
Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:57 +01:00
Mark Brown
d95e933730
ASoC: ab8500: Remove pointless cast
...
There's never any need to cast away from void.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Lee Jones <lee.jones@linaro.org >
2012-08-03 23:03:57 +01:00
Mark Brown
7435d4eec7
ASoC: wm8994: Fix some indentation issues
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:57 +01:00
Mark Brown
a7892c35cf
ASoC: wm_hubs: Rename calibrate_dc_servo()
...
Really we're enabling it here and the name will become very confusing
shortly.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:57 +01:00
Mark Brown
fae4efa23a
ASoC: wm_hubs: Factor out DC servo readback code
...
It's currently only used in one place but another user will be added
shortly and there's an argument it's clearer anyway.
Also add support for readback in mode 1, though it's not currently used.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:57 +01:00
Mark Brown
99af79dff5
ASoC: wm8994: Ensure we get a notification on startup for jackdet
...
Since jackdet only reports deltas it won't generate an interrupt on startup
when a jack is not present. This doesn't make a difference to userspace
but does mean we don't generate a notification via the internal notifier
chains. Fix that by scheduling a work to poll the chip after the clock is
enabled. Use an extremely large timeout since there's no urgency and we
don't want to report a false negative.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:56 +01:00
Mark Brown
8cb8e83bfa
ASoC: wm_hubs: Move CODEC stored in private data into wm_hubs
...
Further wm_hubs code will use this.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-08-03 23:03:56 +01:00