[v2,0/8] ASoC: cs42l42: Add Soundwire support

Message ID 20230118160452.2385494-1-sbinding@opensource.cirrus.com
Headers
Series ASoC: cs42l42: Add Soundwire support |

Message

Stefan Binding Jan. 18, 2023, 4:04 p.m. UTC
  The CS42L42 has a Soundwire interface for control and audio. This
chain of patches adds support for this.

Patches #1 .. #5 split out various changes to the existing code that
are needed for adding Soundwire. These are mostly around clocking and
supporting the separate probe and enumeration stages in Soundwire.

Patches #6 .. #8 actually adds the Soundwire handling.

Changes since v1:
- fixes for various review comments from v1
- add support for wakeup from clock stop using hardware interrupts
- use port_prep callback to prepare/deprepare codec

Richard Fitzgerald (6):
  ASoC: cs42l42: Add SOFT_RESET_REBOOT register
  ASoC: cs42l42: Ensure MCLKint is a multiple of the sample rate
  ASoC: cs42l42: Separate ASP config from PLL config
  ASoC: cs42l42: Export some functions for Soundwire
  ASoC: cs42l42: Add Soundwire support
  ASoC: cs42l42: Don't set idle_bias_on

Stefan Binding (2):
  soundwire: stream: Add specific prep/deprep commands to port_prep
    callback
  ASoC: cs42l42: Wait for debounce interval after resume

 drivers/soundwire/stream.c     |   4 +-
 include/linux/soundwire/sdw.h  |   8 +-
 include/sound/cs42l42.h        |   5 +
 sound/soc/codecs/Kconfig       |   8 +
 sound/soc/codecs/Makefile      |   2 +
 sound/soc/codecs/cs42l42-sdw.c | 603 +++++++++++++++++++++++++++++++++
 sound/soc/codecs/cs42l42.c     | 127 ++++---
 sound/soc/codecs/cs42l42.h     |   9 +-
 8 files changed, 716 insertions(+), 50 deletions(-)
 create mode 100644 sound/soc/codecs/cs42l42-sdw.c
  

Comments

Pierre-Louis Bossart Jan. 18, 2023, 5:43 p.m. UTC | #1
On 1/18/23 10:04, Stefan Binding wrote:
> The CS42L42 has a Soundwire interface for control and audio. This
> chain of patches adds support for this.
> 
> Patches #1 .. #5 split out various changes to the existing code that
> are needed for adding Soundwire. These are mostly around clocking and
> supporting the separate probe and enumeration stages in Soundwire.
> 
> Patches #6 .. #8 actually adds the Soundwire handling.
> 
> Changes since v1:
> - fixes for various review comments from v1
> - add support for wakeup from clock stop using hardware interrupts
> - use port_prep callback to prepare/deprepare codec
> 
> Richard Fitzgerald (6):
>   ASoC: cs42l42: Add SOFT_RESET_REBOOT register
>   ASoC: cs42l42: Ensure MCLKint is a multiple of the sample rate
>   ASoC: cs42l42: Separate ASP config from PLL config
>   ASoC: cs42l42: Export some functions for Soundwire
>   ASoC: cs42l42: Add Soundwire support
>   ASoC: cs42l42: Don't set idle_bias_on
> 
> Stefan Binding (2):
>   soundwire: stream: Add specific prep/deprep commands to port_prep
>     callback

probably want to CC: Vinod and Bard to get their Acked-by tag...

>   ASoC: cs42l42: Wait for debounce interval after resume
> 
>  drivers/soundwire/stream.c     |   4 +-
>  include/linux/soundwire/sdw.h  |   8 +-
>  include/sound/cs42l42.h        |   5 +
>  sound/soc/codecs/Kconfig       |   8 +
>  sound/soc/codecs/Makefile      |   2 +
>  sound/soc/codecs/cs42l42-sdw.c | 603 +++++++++++++++++++++++++++++++++
>  sound/soc/codecs/cs42l42.c     | 127 ++++---
>  sound/soc/codecs/cs42l42.h     |   9 +-
>  8 files changed, 716 insertions(+), 50 deletions(-)
>  create mode 100644 sound/soc/codecs/cs42l42-sdw.c
>