Mark Brown
29fdc3605c
ASoC: wm8994: Enable headphone startup mode 1 for WM1811 and WM8958
...
The latest recommendation for optimal performance.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-21 10:57:47 +00:00
Kuninori Morimoto
e555cf3631
ASoC: ak4642: fixup HeadPhone L/R dapm settings
...
Current ak4642 driver had wrong dapm settings for headphone L/R.
If you select headphone L, and select R after that,
headphone L setting was removed by R settings.
This patch fixes it up.
It provides just "Headphone Enable" to user side
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-21 10:00:24 +00:00
Peter Ujfalusi
3b8a079516
ASoC: twl4030: Debug code cleanup
...
Replace the printk(KERN_ERR* instances with dev_err in the driver.
While we are here clean up some of the debug messages as well.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-21 09:58:47 +00:00
Mark Brown
26422625d5
ASoC: wm_hubs: Convert headphone driver to output driver widget
...
Mostly for neatness, though it may help with sequencing in some
situations.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-21 09:52:09 +00:00
Mark Brown
fdd48f9d19
ASoC: wm8776: Add WM8775 device ID to the WM8776
...
The WM8775 is register compatible with the WM8776 so can be supported with
the same driver though it is an ADC only part. Add the device ID to the
WM8776 driver, further updates will be added in the future.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-21 09:13:59 +00:00
Mark Brown
38d78bafb9
ASoC: ak4104: Convert to module_spi_driver()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-20 22:01:01 +00:00
Mark Brown
65b30bee58
ASoC: ak4104: Remove uninformative print on probe()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-20 22:00:54 +00:00
Mark Brown
d5a7f23f9c
ASoC: wm8996: Make sure we bounce /RESET to reset
...
While it matches the current code only bringing the device out of reset
isn't actually doing what the function says so make sure we set the GPIO
high before we pull it low.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-17 13:50:51 -08:00
Mark Brown
8005f394ab
ASoC: wm8996: Convert to module_i2c_driver()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-17 08:15:40 -08:00
Mark Brown
7813561a39
ASoC: wm8993: Convert to module_i2c_driver()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-17 08:15:39 -08:00
Mark Brown
9d50a764b5
ASoC: wm8962: Convert to module_i2c_driver()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-17 08:15:36 -08:00
Mark Brown
5567d8c621
ASoC: wm8994: Convert to use DAI widget routing rather than streams
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@ti.com >
2012-02-17 08:10:28 -08:00
Mark Brown
a1fa92130c
ASoC: ak4535: Convert to direct regmap API usage
...
I suspect the timer register may also be volatile.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 23:04:45 -08:00
Mark Brown
7e11a53516
ASoC: ak4535: Remove bitrotted driver version
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 23:04:45 -08:00
Mark Brown
b08c576434
ASoC: ak4535: Make I2C usage unconditional
...
Convert to module_i2c_driver() too.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 23:04:43 -08:00
Mark Brown
d69280be41
ASoC: ak4535: Remove -codec from driver name
...
Redundant, the device is only a CODEC.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 23:04:43 -08:00
Mark Brown
d23031a4d3
ASoC: wm8962: Convert to runtime PM for bias off management
...
This allows userspace control of final power off, allowing policy decisions
for register configuration retention.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:04 -08:00
Mark Brown
a968d9db3b
ASoC: wm8962: Don't automatically enable and disable FLL
...
Only enable and disable the FLL when explicitly told to, supporting some
additional use cases and making the driver behaviour more standard.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:03 -08:00
Mark Brown
5aa9b858ef
ASoC: wm8962: Clean up register dump cruft
...
No longer needed with regmap.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:02 -08:00
Mark Brown
07fabd1bfb
ASoC: wm8962: Add new SYSCLK ratios for new device revisions
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:02 -08:00
Mark Brown
eeba1f8b6a
ASoC: wm8962: Log the selected SYSCLK ratio
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:01 -08:00
Mark Brown
1993502d24
ASoC: wm8962: Only configure BCLK in hw_params when audio is active
...
Otherwise we might not have a sensible clocking setup ready.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:32:00 -08:00
Mark Brown
71de4d27c8
ASoC: wm8962: Update the clocking when setting system clock
...
Make sure we update for any changes in cases where we reconfigure while
live (eg, for analogue bypass).
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-16 22:31:59 -08:00
Axel Lin
905b41956c
ASoC: Show device id in the debug message
...
Show the id we read when the id mismatch is detected.
This is useful for debugging.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-15 22:19:55 -08:00
Axel Lin
916be22c15
ASoC: Get correct revision id for wm2200
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-15 18:18:56 -08:00
Mark Brown
65f01ef09e
ASoC: wm8994: Use slow start for VMID
...
Improves performance on power up.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-14 18:13:17 -08:00
Mark Brown
da157875cd
ASoC: wm9081: Use idle_bias_off
...
The main role of the WM9081 is as a class D speaker amplifier so there
is no concern about pops. There are also very few registers and a fast
power up time so we can happily mark the driver as idle_bias_off.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-14 18:13:06 -08:00
Mark Brown
68fcde97e4
ASoC: wm9081: Move WM9081 IRQ platform data handling into I2C probe
...
Better style and better supports idle_bias_off which we're going to
implement.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-14 18:13:05 -08:00
Mark Brown
31794bc37b
ASoC: wm8962: Fix sidetone enumeration texts
...
The sidetone enumeration texts have left and right swapped.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-02-14 13:54:45 -08:00
Mark Brown
1f5cafb2c8
ASoC: wm8988: Remove unneded -codec from driver name
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-13 11:38:22 -08:00
Mark Brown
d2dc0a7782
ASoC: wm8988: Convert to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-13 11:38:21 -08:00
Mark Brown
2dbc34d827
ASoC: wm9081: Use module_i2c_driver
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-13 11:38:01 -08:00
Mark Brown
e85b26ce3a
ASoC: wm8994: Actively discharge VMID when not in use
...
Ensure we're in a known state when we restart.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:11:22 +00:00
Mark Brown
cc6d5a8c2b
ASoC: wm8994: VMID management improvements
...
Raise the ramp time to 50ms to cover corner cases, use the startup bias
generator, explicitly reset the ramp circuit when complete and reorder
things all of which should improve performance somewhat for systems that
are sensitive to noise from VMID.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:11:21 +00:00
Mark Brown
d60d6c3b65
ASoC: wm_hubs: Clamp inputs to VMID while we ramp
...
Reduces the amount of time taken to stabilise them.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:11:21 +00:00
Mark Brown
5f2f389040
ASoC: wm_hubs: Improve single ended line output enable performance
...
The enable of the single ended line outputs on wm_hubs devices performs
better if the output is enabled prior to starting VMID. Since inactive
outputs are held at VMID anyway there is little cost to doing this for
unused outputs. Add callbacks into wm_hubs and keep track of which outputs
are really active so we can disable them once we're active.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:11:20 +00:00
Andrey Danin
0f613c21d6
ASoC: alc5632: Allow 8kHz stream support.
...
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:48 +00:00
Paul Fertser
5148aed229
ASoC: alc5632: Fix Capture/Playback attributes for microphone inputs
...
According to the mixer path diagram input sources' attenuators logically
belong to the playback path and DMIC boost only affects capture.
Signed-off-by: Paul Fertser <fercerpav@gmail.com >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:48 +00:00
Paul Fertser
abb015be83
ASoC: alc5632: Fix Boost Volume TLVs used for the external microphones
...
This brings the TLVs in sync with the documentation and allows to properly
manipulate mic boost controls with alsamixer.
Signed-off-by: Paul Fertser <fercerpav@gmail.com >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:48 +00:00
Marc Dietrich
2435d46fe6
ASoC: alc5632: Connect HP/HPL/HPR mix'es to HPOut Mix
...
This patch should fix output through speakers using HP mixer.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:47 +00:00
Andrey Danin
9e75177901
ASoC: alc5632: Fix I2S digital interface power for recording
...
Fix I2S digital interface power for recording.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:47 +00:00
Andrey Danin
5e4e94a958
ASoC: alc5632: Add DMIC switches and controls
...
Add DMIC switches and controls to ALC5632 codec.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:47 +00:00
Andrey Danin
75b3566f79
ASoC: alc5632: Refactored DAPM routes to add voice support
...
Refactored DAPM routes to add voice support.
- Added undocumented register
- Used AIF in/out
- Added missed voice items and routes
- Added DMIC input
- Romoved unrelevant items
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:47 +00:00
Andrey Danin
6002c22319
ASoC: alc5632: Remove unexisting route from Phone Mix to Mono Mix
...
There is no Phone Mix<->Mono Mix route in datasheet.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 23:02:47 +00:00
Andrey Danin
a15a9af288
ASoC: alc5632: Rename capture switches to common scheme XXX2REC
...
Rename capture switches to common scheme XXX2REC.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 22:55:54 +00:00
Andrey Danin
0a2c056e55
ASoC: alc5632: Add voice DAC playback switch
...
Add voice DAC playback switch.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 22:55:54 +00:00
Andrey Danin
39be1aff50
ASoC: alc5632: Fixed voice DAC volume step.
...
Remove extra zero from volume step in DECLARE_TLV_DB_SCALE macro.
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 22:55:54 +00:00
Andrey Danin
7fb7528acb
ASoC: alc5632: Coding style. Remove two extra empty lines.
...
Signed-off-by: Andrey Danin <danindrey@mail.ru >
Signed-off-by: Leon Romanovsky <leon@leon.nu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-11 22:55:53 +00:00
Mark Brown
b803422979
ASoC: wm8993: Add register default for INPUTS_CLAMP
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-10 20:51:53 +00:00
Mark Brown
e2da26778c
ASoC: wm8993: Correct typos in regmap conversion
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-02-10 18:10:30 +00:00