Fabio Estevam
f2c6e757f6
ASoC: sgtl5000: Print revision number in hex
...
Throughout the sgtl5000 driver source code and also in the sgtl5000 datasheet
the revision code is shown in hexadecimal.
Print it hex format, for consistency.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:31 +00:00
Mark Brown
0132615da5
ASoC: Say we can't read WM5100 ID register
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:30 +00:00
Mark Brown
2688738eba
ASoC: When releasing WM5100 put /RESET into reset
...
Reset is active low, make sure we leave it asserted when release the
device.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:30 +00:00
Mark Brown
99b0292d94
ASoC: 24 bits are significant on wm_hubs DAIs
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:30 +00:00
Mark Brown
85f883933c
ASoC: Make WM8993 I2C usage unconditional
...
The WM8993 only supports I2C so don't ifdef the I2C support in the driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:30 +00:00
Mark Brown
164548d3b3
ASoC: Implement basic WM8993 interrupt support
...
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 >
2012-01-20 13:58:30 +00:00
Mark Brown
a4b5233792
ASoC: 24 bits are significant on the WM8996 audio interfaces
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:30 +00:00
Mark Brown
5f52ee4875
ASoC: Add WM8962 DAC and ADC L/R swap support
...
Simple switches since there's no per-channel control.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:29 +00:00
Dimitris Papastamos
d19fd5db3e
ASoC: wm8983: Remove useless snd_kcontrol
...
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 >
2012-01-20 13:58:29 +00:00
Mark Brown
cef6d1d450
ASoC: Convert WM8962 register access map to modern style
...
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 >
2012-01-20 13:58:28 +00:00
Mark Brown
291d64be31
ASoC: Make WM8962 I2C usage unconditional
...
We only support I2C so no need to ifdef.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:27 +00:00
Manjunath Hadli
2e932f2940
ASoC: CQ93VC: remove machine specific header file inclusion from codec driver
...
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 >
2012-01-20 13:58:27 +00:00
Liam Girdwood
08656910bb
ASoC: twl6040 - add method to query HS DC offset step size in mV
...
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 >
2012-01-20 13:58:26 +00:00
Mark Brown
9b85fc9063
ASoC: Optimise performance of WM8904 ADC 128fs OSR mode
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:26 +00:00
Mark Brown
3294c4c603
ASoC: Convert WM8955 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
95860fdf0f
ASoC: Convert WM8955 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
9887cb9e65
ASoC: Use standard register cache sync for WM8955
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
ba5c88d02d
ASoC: Convert WM8955 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:25 +00:00
Mark Brown
1e9c898df0
ASoC: Make I2C usage unconditional in WM8955
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
42dad0d84a
ASoC: Convert WM8940 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
b5531205f5
ASoC: Make I2C usage unconditional in WM8940
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
84d0d83180
ASoC: Convert WM8904 to direct regmap API usage
...
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 >
2012-01-20 13:58:24 +00:00
Mark Brown
274eb8f9d8
ASoC: Use standard cache sync for WM8904
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:24 +00:00
Mark Brown
93e26d4e44
ASoC: Convert wm8904 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:23 +00:00
Mark Brown
429440c947
ASoC: Make WM8904 I2C usage unconditional
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:23 +00:00
Mark Brown
891271c28f
ASoC: Convert wm8804 to direct regmap API usage
...
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 >
2012-01-20 13:58:23 +00:00
Mark Brown
f649f1a8aa
ASoC: Convert wm8804 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
e055cd67fd
ASoC: Use standard cache sync for wm8804
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
c2562a8e3b
ASoC: Remove wm8974 private data
...
It's only ever referenced when being allocated and freed.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:22 +00:00
Mark Brown
a2bd691c64
ASoC: Convert wm8974 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
7a389651bd
ASoC: Make wm8974 I2C usage unconditional
...
The driver only supports I2C at present.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
028b0a0a92
ASoC: Convert wm8971 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
c4850644ce
ASoC: Convert wm8971 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
542cc361de
ASoC: Make WM8971 I2C usage unconditional
...
The driver only supports I2C so no need to worry about SPI only systems.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:21 +00:00
Mark Brown
d3398ff059
ASoC: Convert WM8753 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
bfea3abb80
ASoC: Move WM8993 resource acquisition and device reset to bus probe
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
d0ad0af043
ASoC: Convert wm8993 to direct regmap API usage
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
391d9e4e5c
ASoC: Move WM9090 device identification and reset to I2C probe
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
ec2c0fec11
ASoC: Convert WM9090 to use regmap directly
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:20 +00:00
Mark Brown
008f8d4f99
ASoC: Push wm8978 reset down into the I2C probe
...
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 >
2012-01-20 13:58:19 +00:00
Mark Brown
ee60d0155d
ASoC: Convert wm8978 to direct regmap API usage
...
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 >
2012-01-20 13:58:19 +00:00
Mark Brown
f98692ea6d
ASoC: Use standard cache sync for WM8978
...
Saves a bit of code and supports further refactoring.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
623105dc97
ASoC: Convert wm8978 to devm_kzalloc()
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
803b37885d
ASoC: Convert wm8978 to table based DAPM and control init
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:19 +00:00
Mark Brown
ad6cdec507
ASoC: Remove unused control type from wm8978 driver
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:18 +00:00
Mark Brown
0d6df67583
ASoC: Make WM8978 I2C usage unconditional
...
The driver only supports I2C.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:58:18 +00:00
Mark Brown
fed2200711
ASoC: Disable register synchronisation for low frequency WM8996 SYSCLK
...
With a low frequency SYSCLK and a fast I2C clock register synchronisation
may occasionally take too long to take effect, causing I/O issues. Disable
synchronisation in order to avoid any issues.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:34 +00:00
Mark Brown
495174a8ff
ASoC: Don't go through cache when applying WM5100 rev A updates
...
These are all to either uncached registers or fixes to register defaults,
in the former case the cache won't do anything and in the latter case
we're fixing things so the cache sync will do the right thing.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:33 +00:00
Mark Brown
e53e417331
ASoC: Mark WM5100 register map cache only when going into BIAS_OFF
...
Writing to the registers won't work if we do actually manage to hit a fully
powered off state.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2012-01-20 13:54:33 +00:00
Wolfram Sang
0c93a167a6
ASoC: tlv320aic32x4: always enable analouge block
...
Register LDOCTLEN must always be initialized to clear the analog power
control bit, otherwise the analog block will stay deactivated.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Acked-by: Javier Martin <javier.martin@vista-silicon.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-01-20 13:54:33 +00:00