1. 21 1月, 2010 2 次提交
    • M
      ASoC: Support turning off bias when the CODEC is idle · a96ca338
      Mark Brown 提交于
      Currently ASoC always maintains the bias of the CODEC while the system
      is active.  With older mobile CODECs this is required since the outputs
      are referenced to a non-zero voltage and enabling or disabling this
      voltage without audible pops or clicks in the output takes too long to
      do when starting or stopping audio.
      
      As a result of features such as ground referenced outputs and class D
      speaker drivers current generation devices are able to power on and off
      much more quickly without these system level issues so provide a new
      flag idle_bias_off in snd_soc_codec which will cause the core to turn
      off the CODEC bias.  The distinction between STANDBY and OFF is still
      maintained.  This is partly for consistency but also allows for
      potential future extensions such as per-machine overrides or deferring
      the bias removal.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      a96ca338
    • M
      ASoC: Remove console DAPM debug code · b91b8fa0
      Mark Brown 提交于
      The same information is now visible via debugfs and with large modern
      devices dumping everything to the console can be very resource
      intensive, causing more harm than good.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      b91b8fa0
  2. 17 12月, 2009 2 次提交
  3. 05 12月, 2009 1 次提交
  4. 23 11月, 2009 1 次提交
  5. 13 10月, 2009 1 次提交
  6. 06 10月, 2009 3 次提交
  7. 02 10月, 2009 1 次提交
  8. 14 9月, 2009 1 次提交
  9. 09 9月, 2009 1 次提交
    • M
      ASoC: Allow per-route connectedness checks for supplies · 215edda3
      Mark Brown 提交于
      Some chips with complex internal supply (particularly clocking)
      arragements may have multiple options for some of the supply
      connections. Since these don't affect user-visible audio routing
      the expectation would be that they would be managed automatically
      by one of the drivers.
      
      Support these users by allowing routes to have a connected function
      which is queried before the connectedness of the path is checked as
      normal. Currently this is only done for supplies, other widgets
      could be supported but are not currently since the expectation for
      them is that audio routing will be under the control of userspace.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      215edda3
  10. 24 8月, 2009 1 次提交
  11. 22 8月, 2009 1 次提交
    • M
      ASoC: Add DAPM widget power decision debugfs files · 79fb9387
      Mark Brown 提交于
      Currently when built with DEBUG DAPM will dump information about
      the power state decisions it is taking for each widget to dmesg.
      This isn't an ideal way of getting the information - it requires
      a kernel build to turn it on and off and for large hub CODECs the
      volume of information is so large as to be illegible. When the
      output goes to the console it can also cause a noticable impact
      on performance simply to print it out.
      
      Improve the situation by adding a dapm directory to our debugfs
      tree containing a file per widget with the same information in
      it. This still requires a decision to build with debugfs support
      but is easier to navigate and much less intrusive.
      
      In addition to the previously displayed information active streams
      are also shown in these files.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      79fb9387
  12. 19 8月, 2009 1 次提交
  13. 18 8月, 2009 1 次提交
    • M
      ASoC: Add input and output AIF widgets · 010ff262
      Mark Brown 提交于
      Currently DAPM interfaces with the audio streams to and from the
      processor at the DAC and ADC widgets. As the digital capabilities
      of parts increases this is becoming a less and less able to meet
      the needs of parts.
      
      To meet the needs of these devices create new widgets interfacing
      with the TDM bus but not integrated into any other functionality.
      Audio can then be routed to and from these widgets using existing
      routing widgets.
      
      A slot number is provided in the definition but this is currently
      not used yet. This is intended to support devices which can use
      more than one TDM slot on a single interface.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      010ff262
  14. 17 8月, 2009 2 次提交
  15. 14 7月, 2009 1 次提交
  16. 09 7月, 2009 1 次提交
  17. 26 6月, 2009 1 次提交
  18. 24 6月, 2009 1 次提交
  19. 08 6月, 2009 6 次提交
  20. 07 6月, 2009 2 次提交
  21. 06 6月, 2009 1 次提交
  22. 18 5月, 2009 4 次提交
  23. 23 4月, 2009 1 次提交
    • M
      ASoC: Add power supply widget to DAPM · 246d0a17
      Mark Brown 提交于
      Many modern CODECs have shared resources on chip which must be enabled
      for portions of the chip to work but which can be disabled at other times
      in order to achieve power savings. Examples of such resources include
      power supplies and some internal clocks.
      
      Since these widgets are dependencies for the audio path but do not carry
      audio signals they require slightly different handling to most widgets -
      they do not contribute to the audio path and so should not be counted as
      either inputs or outputs during path walks.
      
      Cases where one supply provides a supply for another will require
      additional work. There is also room for more optimisation of the graph
      walking to avoid repeated checks for the same thing.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      246d0a17
  24. 21 4月, 2009 3 次提交