1. 19 11月, 2014 1 次提交
  2. 14 11月, 2014 1 次提交
  3. 01 11月, 2014 1 次提交
    • R
      ASoC: cs42l51: depends on I2C · e894beb8
      Randy Dunlap 提交于
      Fix build errors when CONFIG_I2C is not enabled by making the
      driver depend on I2C.
      
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: warning: data definition has no type or storage class [enabled by default]
       module_i2c_driver(cs42l51_i2c_driver);
       ^
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: warning: parameter names (without types) in function declaration [enabled by default]
      ../sound/soc/codecs/cs42l51-i2c.c:45:26: warning: 'cs42l51_i2c_driver' defined but not used [-Wunused-variable]
       static struct i2c_driver cs42l51_i2c_driver = {
                                ^
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NBrian Austin <brian.austin@cirrus.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e894beb8
  4. 29 10月, 2014 1 次提交
  5. 20 10月, 2014 1 次提交
  6. 03 10月, 2014 1 次提交
  7. 30 9月, 2014 1 次提交
  8. 27 9月, 2014 1 次提交
  9. 28 8月, 2014 1 次提交
  10. 17 8月, 2014 3 次提交
  11. 26 7月, 2014 2 次提交
  12. 18 7月, 2014 1 次提交
  13. 05 7月, 2014 1 次提交
    • B
      ASoC: add RT286 CODEC driver · 07cf7cba
      Bard Liao 提交于
      This patch adds Realtek ALC286 codec driver.
      
      ALC286 is a dual mode codec, which can run as HD-A or I2S mode.
      It is controlled by HD-A verb commands via I2C protocol.
      The following is the I/O difference between ALC286 and general I2S codecs.
      1. A HD-A verb command contains three parts, NID, VID, and PID.
         And an I2S command contains only two parts: address and data.
      2. Not only the register address is written, but the read command also
         includes the entire write command.
      3. rt286 uses different registers for read and write the same bits.
      
      We map verb command to regmap structure. However, we read most registers from
      cache to prevent the asymmetry read/write issue in rt286.
      Signed-off-by: NBard Liao <bardliao@realtek.com>
      Signed-off-by: NGustaw Lewandowski <gustaw.lewandowski@intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      07cf7cba
  14. 03 7月, 2014 1 次提交
  15. 24 6月, 2014 1 次提交
  16. 16 6月, 2014 1 次提交
  17. 10 6月, 2014 1 次提交
    • L
      ASoC: sigmadsp: Split regmap and I2C support into separate modules · 2488708f
      Lars-Peter Clausen 提交于
      When the SigmaDSP module is built-in, but the I2C core is build as a module
      we'll get a undefined reference:
      
      	sound/built-in.o: In function `sigma_action_write_i2c':
      		:(.text+0x5d8d4): undefined reference to `i2c_master_send'
      
      This can happen if a audio driver that is using the regmap SigmaDSP interface is
      built into the kernel, but core I2C support is build as a module. To fix this
      split the SigmaDSP module into three modules, one module providing the core
      infrastructure and two small modules implementing the regmap and I2C interfaces.
      This allows e.g. the core infrastructure and regmap support to be built into the
      kernel while I2C support can still be build as a module.
      
      Fixes: dab464b6 ("ASoC: Add ADAU1361/ADAU1761 audio CODEC support")
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2488708f
  18. 06 6月, 2014 1 次提交
    • L
      ASoC: sigmadsp: Split regmap and I2C support into separate modules · 6b10998d
      Lars-Peter Clausen 提交于
      When the SigmaDSP module is built-in, but the I2C core is build as a module
      we'll get a undefined reference:
      
      	sound/built-in.o: In function `sigma_action_write_i2c':
      		:(.text+0x5d8d4): undefined reference to `i2c_master_send'
      
      This can happen if a audio driver that is using the regmap SigmaDSP interface is
      built into the kernel, but core I2C support is build as a module. To fix this
      split the SigmaDSP module into three modules, one module providing the core
      infrastructure and two small modules implementing the regmap and I2C interfaces.
      This allows e.g. the core infrastructure and regmap support to be built into the
      kernel while I2C support can still be build as a module.
      
      Fixes: dab464b6 ("ASoC: Add ADAU1361/ADAU1761 audio CODEC support")
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6b10998d
  19. 02 6月, 2014 2 次提交
  20. 28 5月, 2014 3 次提交
  21. 26 5月, 2014 1 次提交
  22. 21 5月, 2014 1 次提交
  23. 06 5月, 2014 1 次提交
  24. 04 5月, 2014 1 次提交
  25. 01 5月, 2014 1 次提交
    • A
      ASoC: CS42L51 and WM8962 codecs depend on INPUT · a2915d4f
      Arnd Bergmann 提交于
      Building ARM randconfig got into a situation where CONFIG_INPUT
      is turned off and SND_SOC_ALL_CODECS is turned on, which failed
      for two codecs trying to use the input subsystem. Some other
      drivers also select one of these codecs and consequently need an
      explicit dependency added.
      
      Appending to the dependency list seems the easiest way out,
      since this is not a practical limitation. If anyone really
      needs to build these codecs for a kernel with no input support,
      a more sophisticated solution can be implemented.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NXia Kaixu <kaixu.xia@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      a2915d4f
  26. 19 4月, 2014 1 次提交
  27. 16 4月, 2014 1 次提交
  28. 15 4月, 2014 1 次提交
    • S
      ASoC: sta350: Add codec driver · 2439ea1f
      Sven Brandau 提交于
      The TI STA350 is an integrated 2.1-channel power amplifier that is
      controllable over I2C. This patch adds an ASoC driver for it.
      
      At a glance, this chip is very similar to the STA320 for which a driver
      already exists. In details, however, the register maps contain subtle
      differences which made a whole new driver easier to write and maintain.
      
      [daniel@zonque.org: cleanups, DT property rework, rebased on asoc-next]
      Signed-off-by: NSven Brandau <brandau@gmx.de>
      Signed-off-by: NDaniel Mack <daniel@zonque.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2439ea1f
  29. 20 3月, 2014 1 次提交
  30. 13 3月, 2014 1 次提交
    • J
      ASoC: tlv320aic31xx: Add basic codec driver implementation · e00447fa
      Jyri Sarha 提交于
      This commit adds a bare bones driver support for TLV320AIC31XX family
      audio codecs. The driver adds basic stereo playback trough headphone
      and speaker outputs and mono capture trough microphone inputs.
      
      The driver is currently missing support at least for mini DSP features
      and jack detection. I have tested the driver only on TLV320AIC3111,
      but based on the data sheets TLV320AIC3100, TLV320AIC3110, and
      TLV320AIC3120 should work Ok too.
      
      The base for the implementation was taken from:
      git@gitorious.org:ti-codecs/ti-codecs.git ajitk/topics/k3.10.1-aic31xx
      -branch at commit 77504eba0294764e9e63b4a0c696b44db187cd13.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      e00447fa
  31. 09 3月, 2014 1 次提交
  32. 07 3月, 2014 1 次提交
  33. 06 3月, 2014 1 次提交
    • R
      ASoC: sirf: Add SiRF internal audio codec driver · f516e368
      Rongjun Ying 提交于
      SiRF internal audio codec is integrated in SiRF atlas6 and prima2 SoC.
      Features include:
      1. Stereo DAC and ADC with 16-bit resolution amd 48KHz sample rate
      2. Support headphone and/or speaker output
      3. Integrate headphone and speaker output amp
      4. Support LINE and MIC input
      5. Support single ended and differential input mode
      Signed-off-by: NRongjun Ying <rongjun.ying@csr.com>
      --v5:
      1. Drop all inlines.
      2. Reordering the Kconfig and Makefile
      3. Remove the sirf_audio_codec_reg_bits struct, use the new controls instead it.
      4. Add some SND_SOC_DAPM_OUT_DRV instead of HP and SPK enable driver
      5. Add audio codec clock supply instead of adc event callback
      6. Fixed playback and capture can't concurrent work bug.
      
      --
       .../devicetree/bindings/sound/sirf-audio-codec.txt |   17 +
       sound/soc/codecs/Kconfig                           |    5 +
       sound/soc/codecs/Makefile                          |    1 +
       sound/soc/codecs/sirf-audio-codec.c                |  533 ++++++++++++++++++++
       sound/soc/codecs/sirf-audio-codec.h                |   75 +++
       5 files changed, 631 insertions(+), 0 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/sirf-audio-codec.txt
       create mode 100644 sound/soc/codecs/sirf-audio-codec.c
       create mode 100644 sound/soc/codecs/sirf-audio-codec.h
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f516e368
  34. 19 2月, 2014 1 次提交
    • L
      ASoC: Add ADAU1977 CODEC driver · 603597c9
      Lars-Peter Clausen 提交于
      This patch adds support for the ADAU1977, ADAU1978 and ADAU1979 audio CODEC
      devices. They are a family of 4-channel differential input audio ADC devices.
      They can be connected to either a SPI or I2C bus. The driver is implemented in
      three modules, one main module (adau1977.ko) which implements the device logic
      and one module each for SPI (adau1977-spi.ko) and I2C (adau1977-i2c.ko) bus
      access.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      603597c9