diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-01-10 14:33:42 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-10 14:33:42 +0100 |
commit | f66229aa355f7e0dc0dc20cbc1f4d45c3176eed2 (patch) | |
tree | 0f396466d660a1ebe4f48966f40f3a7bd49701ee /include | |
parent | ALSA: hda: Fix dependencies of CS35L41 on SPI/I2C buses (diff) | |
parent | ASoC: cs35l41: Add support for hibernate memory retention mode (diff) | |
download | linux-f66229aa355f7e0dc0dc20cbc1f4d45c3176eed2.tar.xz linux-f66229aa355f7e0dc0dc20cbc1f4d45c3176eed2.zip |
Merge tag 'asoc-v5.17-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v5.17
A few more updates for v5.17, nothing hugely stand out in the few days
since the initial pull request was sent.
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/cs35l41.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/cs35l41.h b/include/sound/cs35l41.h index 29a527457b48..bf7f9a9aeba0 100644 --- a/include/sound/cs35l41.h +++ b/include/sound/cs35l41.h @@ -40,6 +40,9 @@ #define CS35L41_PROTECT_REL_ERR_IGN 0x00002034 #define CS35L41_GPIO_PAD_CONTROL 0x0000242C #define CS35L41_JTAG_CONTROL 0x00002438 +#define CS35L41_PWRMGT_CTL 0x00002900 +#define CS35L41_WAKESRC_CTL 0x00002904 +#define CS35L41_PWRMGT_STS 0x00002908 #define CS35L41_PLL_CLK_CTRL 0x00002C04 #define CS35L41_DSP_CLK_CTRL 0x00002C08 #define CS35L41_GLOBAL_CLK_CTRL 0x00002C0C @@ -635,6 +638,8 @@ #define CS35L41_INPUT_DSP_TX1 0x32 #define CS35L41_INPUT_DSP_TX2 0x33 +#define CS35L41_WR_PEND_STS_MASK 0x2 + #define CS35L41_PLL_CLK_SEL_MASK 0x07 #define CS35L41_PLL_CLK_SEL_SHIFT 0 #define CS35L41_PLL_CLK_EN_MASK 0x10 @@ -762,6 +767,8 @@ struct cs35l41_otp_map_element_t { extern struct regmap_config cs35l41_regmap_i2c; extern struct regmap_config cs35l41_regmap_spi; +int cs35l41_test_key_unlock(struct device *dev, struct regmap *regmap); +int cs35l41_test_key_lock(struct device *dev, struct regmap *regmap); int cs35l41_otp_unpack(struct device *dev, struct regmap *regmap); int cs35l41_register_errata_patch(struct device *dev, struct regmap *reg, unsigned int reg_revid); int cs35l41_set_channels(struct device *dev, struct regmap *reg, |