1. 27 1月, 2009 1 次提交
  2. 20 1月, 2009 1 次提交
  3. 09 1月, 2009 2 次提交
  4. 08 1月, 2009 1 次提交
  5. 06 1月, 2009 1 次提交
  6. 31 12月, 2008 2 次提交
    • P
      ASoC: TWL4030: DAPM based capture implementation · 276c6222
      Peter Ujfalusi 提交于
      This patch adds DAPM implementaion for the capture path
      on twlx030.
      
      TWL has two physical ADC and two digital microphone (stereo) connections.
      The CPU interface has four microphone channels.
      For simplicity the microphone channel paths are named as:
      TX1 (Left/Right) - when using i2s mode, only the TX1 data is valid
      TX2 (Left/Right)
      
      Input routing (simplified version):
      There is two levels of mux settings for TWL in input path:
      Analog input mux:
       ADCL <- {Off, Main mic, Headset mic, AUXL, Carkit mic}
       ADCR <- {Off, Sub mic, AUXR}
      
      Analog/Digital mux:
      TX1 Analog mode:
       TX1L <- ADCL
       TX1R <- ADCR
      TX1 Digital mode:
       TX1L <- Digimic0 (Left)
       TX1R <- Digimic0 (Right)
      
      TX2 Analog mode:
       TX2L <- ADCL
       TX2R <- ADCR
      TX2 Digital mode:
       TX2L <- Digimic1 (Left)
       TX2R <- Digimic1 (Right)
      
      The patch provides the following user controls for the capture path:
      Mux settings:
      "TX1 Capture Route": {Analog, Digimic0}
      "TX2 Capture Route": {Analog, Digimic1}
      "Analog Left Capture Route":  {Off, Main Mic, Headset Mic, AUXL, Carkit Mic}
      "Analog Right Capture Route": {Off, Sub Mic, AUXR}
      
      Volume/Gain controls:
      "TX1 Digital Capture Volume": Stereo gain control for TX1 path
      "TX2 Digital Capture Volume": Stereo gain control for TX2 path
      "Analog Capture Volume":      Stereo gain control for the analog path only
      
      Important things for the board files:
      Microphone bias:
      "Mic Bias 1":       Bias for Main mic or for digimic0 (analog or digital path)
      "Mic Bias 2":       Bias for Sub mic or for digimic1 (analog or digital path)
      "Headset Mic Bias": Bias for Headset mic
      
      When the routing configured correctly only the needed components will be
      powered/enabled.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      276c6222
    • P
      ASoC: TWL4030: Make the enum filter generic for twl4030 · f9a3fba2
      Peter Ujfalusi 提交于
      Modify the enum filter to more generic that it will filter
      out the enums with text "Invalid".
      The enum filter also required for the capture path.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f9a3fba2
  7. 12 12月, 2008 1 次提交
  8. 10 12月, 2008 4 次提交
  9. 09 12月, 2008 10 次提交
  10. 03 12月, 2008 1 次提交
    • G
      ASoC: TWL4030: Add input selection and gain controls · 5920b453
      Grazvydas Ignotas 提交于
      The TWL4030 codec device has two ADCs. Both of them can have
      several inputs routed to them, but TRM says that only one source
      can be selected for every ADC, even though every source has a
      dedicated bit in the registers.
      
      This patch adds input source controls. It modifies default register
      values to have no inputs selected and ADCs disabled. When some
      input is selected, control handlers enable apropriate input
      amplifier and ADC. If a microphone is selected, bias power is
      automatically enabled. When some input is deselected, unused
      chip parts are disabled.
      
      Microphone and line input recording tested on OMAP3 pandora board.
      Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5920b453
  11. 02 12月, 2008 4 次提交
  12. 24 11月, 2008 4 次提交
  13. 21 11月, 2008 1 次提交
    • M
      ASoC: Merge snd_soc_ops into snd_soc_dai_ops · dee89c4d
      Mark Brown 提交于
      Liam Girdwood's ASoC v2 work avoids having two different ops structures
      for DAIs by merging the members of struct snd_soc_ops into struct
      snd_soc_dai_ops, allowing per DAI configuration for everything.
      Backport this change.
      
      This paves the way for future work allowing any combination of DAIs to
      be connected rather than having fixed purpose CODEC and CPU DAIs and
      only allowing CODEC<->CPU interconnections.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      dee89c4d
  14. 17 11月, 2008 1 次提交
  15. 13 11月, 2008 1 次提交
  16. 06 11月, 2008 1 次提交
  17. 31 10月, 2008 1 次提交