[PATCH 00/10] ASoC: codec: add pm runtime support for Qualcomm codecs

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Mon Feb 21 14:10:27 CET 2022


This patchset adds support for runtime pm on tx/rx/wsa/wcd lpass macro, wsa881x
and wcd938x codecs that are wired up on SoundWire bus.
During pm testing it was also found that soundwire clks enabled by lpass macros
are not enabling all the required clocks correctly, so last 3 patches corrects them.

Tested this on SM8250 MTP along SoundWire In band Headset Button wakeup interrupts.

Srinivas Kandagatla (10):
  ASoC: codecs: va-macro: add runtime pm support
  ASoC: codecs: wsa-macro: add runtime pm support
  ASoC: codecs: rx-macro: add runtime pm support
  ASoC: codecs: tx-macro: add runtime pm support
  ASoC: codecs: wsa881x: add runtime pm support
  ASoC: codecs: wcd938x: add simple clk stop support
  ASoC: codecs: wcd-mbhc: add runtime pm support
  ASoC: codecs: wsa-macro: setup soundwire clks correctly
  ASoC: codecs: tx-macro: setup soundwire clks correctly
  ASoC: codecs: rx-macro: setup soundwire clks correctly

 sound/soc/codecs/lpass-rx-macro.c  | 49 +++++++++++++++++++++++++--
 sound/soc/codecs/lpass-tx-macro.c  | 45 ++++++++++++++++++++++++-
 sound/soc/codecs/lpass-va-macro.c  | 36 ++++++++++++++++++++
 sound/soc/codecs/lpass-wsa-macro.c | 43 +++++++++++++++++++++++-
 sound/soc/codecs/wcd-mbhc-v2.c     | 26 ++++++++++++++
 sound/soc/codecs/wcd938x-sdw.c     |  1 +
 sound/soc/codecs/wsa881x.c         | 54 ++++++++++++++++++++++++++++++
 7 files changed, 250 insertions(+), 4 deletions(-)

-- 
2.21.0



More information about the Alsa-devel mailing list