diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-31 17:07:56 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-31 17:07:56 +0000 |
commit | 98fda42a85b4324b6c404ec163940371c63625df (patch) | |
tree | 0eb61554c2a25c51c0c7da0524c46b8c0ba8144d /include/sound | |
parent | 6570befb4fccce7ba49e5c74adbdae9bba5d9824 (diff) | |
parent | 16838bfbf6e70b7a3381ab302248bd18c085aba5 (diff) | |
download | linux-next-98fda42a85b4324b6c404ec163940371c63625df.tar.gz |
ASoC: cs42l42: Add SoundWire support
Merge series from Stefan Binding <sbinding@opensource.cirrus.com>:
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.
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs42l42.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/cs42l42.h b/include/sound/cs42l42.h index 1d1c24fdd0ca..3994e933db19 100644 --- a/include/sound/cs42l42.h +++ b/include/sound/cs42l42.h @@ -34,6 +34,7 @@ #define CS42L42_PAGE_24 0x2400 #define CS42L42_PAGE_25 0x2500 #define CS42L42_PAGE_26 0x2600 +#define CS42L42_PAGE_27 0x2700 #define CS42L42_PAGE_28 0x2800 #define CS42L42_PAGE_29 0x2900 #define CS42L42_PAGE_2A 0x2A00 @@ -720,6 +721,10 @@ #define CS42L42_SRC_SDOUT_FS (CS42L42_PAGE_26 + 0x09) +/* Page 0x27 DMA */ +#define CS42L42_SOFT_RESET_REBOOT (CS42L42_PAGE_27 + 0x01) +#define CS42L42_SFT_RST_REBOOT_MASK BIT(1) + /* Page 0x28 S/PDIF Registers */ #define CS42L42_SPDIF_CTL1 (CS42L42_PAGE_28 + 0x01) #define CS42L42_SPDIF_CTL2 (CS42L42_PAGE_28 + 0x02) |