[PATCH 0/2] Add low power hibernation support to cs35l41

Charles Keepax ckeepax at opensource.cirrus.com
Fri Jan 7 17:06:34 CET 2022


This patch series adds support for the low power hibernation feature
on cs35l41. This allows the DSP memory to be retained whilst the
device enters a very low power state.

These patches will cause some very minor conflicts with Lucas's
currently outstanding work on the HDA version of cs35l41.  Whilst
things will still build (well now I fixed my silly mistake), this
patch adds a test key function his code will now have to call.

It looks like Lucas's patch might get a respin based on the comments
from Andy, in which case I guess we can pull the small change into the
next version of it. But either way these patches are not urgent so I
am happy if they sit around until Lucas's stuff is merged too.

Thanks,
Charles

Charles Keepax (2):
  ASoC: cs35l41: Update handling of test key registers
  ASoC: cs35l41: Add support for hibernate memory retention mode

 include/sound/cs35l41.h        |   7 ++
 sound/soc/codecs/cs35l41-i2c.c |   1 +
 sound/soc/codecs/cs35l41-lib.c |  73 +++++++------
 sound/soc/codecs/cs35l41-spi.c |   1 +
 sound/soc/codecs/cs35l41.c     | 233 +++++++++++++++++++++++++++++++++++++----
 sound/soc/codecs/cs35l41.h     |   4 +
 6 files changed, 268 insertions(+), 51 deletions(-)

-- 
2.11.0



More information about the Alsa-devel mailing list