1. 23 6月, 2017 1 次提交
  2. 22 6月, 2017 1 次提交
    • A
      ASoC: es8316: add I2C dependency · 664d00d1
      Arnd Bergmann 提交于
      Without CONFIG_I2C, we get a build failure:
      
      sound/soc/codecs/es8316.c:633:1: error: data definition has no type or storage class [-Werror]
      sound/soc/codecs/es8316.c:633:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      sound/soc/codecs/es8316.c:633:1: error: parameter names (without types) in function declaration [-Werror]
      sound/soc/codecs/es8316.c:623:26: error: 'es8316_i2c_driver' defined but not used [-Werror=unused-variable]
      
      This adds the required Kconfig dependency.
      
      Fixes: b8b88b70 ("ASoC: add es8316 codec driver")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      664d00d1
  3. 14 6月, 2017 1 次提交
    • D
      ASoC: add es8316 codec driver · b8b88b70
      Daniel Drake 提交于
      Add a codec driver for the Everest ES8316, based on code provided by
      David Yang from Everest Semi.
      
      I limited the functionality to items where the vendor code was clear,
      and things that can be tested on the Weibu F3C (Intel Cherry Trail).
      As a result the initial implementation only supports running in slave
      mode at single speed (up to 48kHz sample rate) using I2S. HPD is not
      supported.
      Signed-off-by: NDavid Yang <yangxiaohua@everest-semi.com>
      [drake@endlessm.com: significant cleanups and simplifications,
                           remove dead/unclear code]
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      b8b88b70
  4. 26 4月, 2017 1 次提交
  5. 07 4月, 2017 1 次提交
  6. 16 3月, 2017 1 次提交
  7. 07 3月, 2017 2 次提交
  8. 06 3月, 2017 1 次提交
  9. 07 2月, 2017 1 次提交
    • A
      ASoC: fix ES8328_I2C/SPI dependencies · 245c5c7b
      Arnd Bergmann 提交于
      The two front-ends to the codec can now be selected individually, but fail to
      build when the bus support is missing:
      
      sound/built-in.o: In function `es8328_spi_probe':
      es8328-spi.c:(.text+0x125854): undefined reference to `__devm_regmap_init_spi'
      sound/built-in.o: In function `es8328_spi_driver_init':
      es8328-spi.c:(.init.text+0x3589): undefined reference to `__spi_register_driver'
      
      Related to this, the added dependency on SND_SOC_ES8328 breaks:
      
      warning: (SND_SOC_ALL_CODECS) selects SND_SOC_ES8328_I2C which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_ES8328 && I2C)
      
      This adds the respective Kconfig dependencies and changes SND_SOC_ES8328 to a hidden
      symbol that is selected implicitly by the two more specific options, as we do for
      some other codecs. We have to remove the 'depends on' for SND_SOC_IMX_ES8328 in the
      same step to avoid a recursive dependency.
      
      Fixes: aa00f2c8 ("ASoC: Allow to select ES8328_I2C and ES8328_SPI directly")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      245c5c7b
  10. 04 2月, 2017 2 次提交
  11. 25 1月, 2017 1 次提交
  12. 15 12月, 2016 1 次提交
  13. 18 11月, 2016 2 次提交
  14. 14 11月, 2016 1 次提交
  15. 09 11月, 2016 1 次提交
  16. 31 10月, 2016 1 次提交
  17. 27 10月, 2016 1 次提交
  18. 25 10月, 2016 4 次提交
  19. 21 10月, 2016 2 次提交
  20. 25 9月, 2016 1 次提交
  21. 14 9月, 2016 1 次提交
  22. 23 8月, 2016 1 次提交
  23. 04 7月, 2016 1 次提交
  24. 30 6月, 2016 1 次提交
    • S
      ASoC: max98504: Add max98504 speaker amplifier driver · 4c5d1469
      Sylwester Nawrocki 提交于
      This patch adds driver for the MAX98504 speaker amplifier.  The MAX98504
      is a high efficiency mono class D amplifier that features an integrated
      boost converter with voltage and current sensing ADCs for Dynamic Speaker
      Management.
      This driver does not include support for the I2S DAI, as we wouldn't be
      able  to test such code in a hardware configuration where the amplifier
      has only wired the analogue input.
      Signed-off-by: NInha Song <ideal.song@samsung.com>
      [k.kozlowski: rebased on 4.1]
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      [s.nawrocki: removed unused macro definitions, rewrote regulator supply
       related parts, rewrote regmap configuration code, added support for speaker
       enable and global chip enable through DAPM, rewritten as component driver,
       added PDM DAI definition and TDM callbacks for PDM channels configuration]
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      --
      Changes since v2:
       - added parsing of the VBAT brownout DT properties,
       - removed MAX98504_REG_SPEAKER_SOURCE_SELECT register initialization,
       - removed unused macro definitions.
      
      Changes since v1:
       - none.
      
      Changes since initial version:
       - added regulator supply handling,
       - added DAPM widges for speaker source selection,
       - added PDM DAI definition and TDM callbacks for setting up active
         PDM Tx channels and I/V sense ADC data mapping,
       - removed all optional DT properties, added regulator supply properties
         in the DT binding.
      Signed-off-by: NMark Brown <broonie@kernel.org>
      4c5d1469
  25. 28 6月, 2016 1 次提交
  26. 17 6月, 2016 1 次提交
  27. 14 6月, 2016 1 次提交
    • A
      ASoC: wm8985: add i2c dependency · 05252513
      Arnd Bergmann 提交于
      The wm8985 driver is now user-selectable, but building it with
      I2C disabled results in a link failure:
      
      sound/built-in.o: In function `wm8985_i2c_probe':
      :(.text+0x44914): undefined reference to `__devm_regmap_init_i2c'
      sound/built-in.o: In function `wm8985_exit':
      :(.exit.text+0x3d8): undefined reference to `i2c_del_driver'
      sound/built-in.o: In function `wm8985_modinit':
      :(.init.text+0x1454): undefined reference to `i2c_register_driver'
      
      This adds a Kconfig dependency the way that the other codec
      drivers have it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 811e66de ("ASoC: wm8985: add support for WM8758")
      Signed-off-by: NMark Brown <broonie@kernel.org>
      05252513
  28. 10 6月, 2016 1 次提交
    • L
      ASoC: adau: Factor out shared PLL configuration code · 0eadaa9c
      Lars-Peter Clausen 提交于
      Multiple devices from the ADAU family share the same PLL structure and
      configuration register layout. Introduce a new helper module that can be
      used to calculated the PLL configuration registers based on a specified
      input frequency and the desired output frequency of the PLL.
      
      The ADAU1761/ADAU1781 and ADAU1373 drivers are updated to make use of this
      new helper module. But future drivers for additional devices from the ADAU
      family are also expected to make use of it.
      
      In anticipation of sharing more infrastructure code between different
      devices from the ADAU family the new module is called adau-utils.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      0eadaa9c
  29. 07 6月, 2016 1 次提交
    • O
      ASoC: rt5514: add rt5514 SPI driver · 6eebf35b
      Oder Chiou 提交于
      The device has multiple control interfaces, I2C and SPI. The I2C interface
      mainly controls the register settings of codec. The SPI interface is in
      order to provide the high speed transmission of data. For example, high
      bandwidth memory read/write of DSP. The patch adds the rt5514 SPI driver
      for loading the firmware of DSP and retrieving the voice data from DSP
      after the system is waked up by specific voice.
      Signed-off-by: NOder Chiou <oder_chiou@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      6eebf35b
  30. 02 6月, 2016 2 次提交
  31. 30 5月, 2016 2 次提交