diff options
author | Martin Povišer <povik+lin@cutebit.org> | 2022-09-15 12:44:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-19 20:05:35 +0300 |
commit | 94d5f62a91aab6ac9c3f4abfd048cbe5f77153ac (patch) | |
tree | 1bbd233e39f093e3a751839e8e4737f331d8c939 /include/sound | |
parent | 30b679e2cb058c3dcf6d3ebdf10999f0a7a1644d (diff) | |
download | linux-94d5f62a91aab6ac9c3f4abfd048cbe5f77153ac.tar.xz |
ASoC: cs42l83: Extend CS42L42 support to new part
The CS42L83 part is a headphone jack codec found in recent Apple
machines. It is a publicly undocumented part but as far as can be told
it is identical to CS42L42 except for two points:
* The chip ID is different.
* Of those registers for which we have a default value in the existing
CS42L42 kernel driver, one register (MCLK_CTL) differs in its reset
value on CS42L83.
To address those two points (and only those), add to the CS42L42 driver
a separate CS42L83 front.
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220915094444.11434-10-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs42l42.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/cs42l42.h b/include/sound/cs42l42.h index a55d522f1772..1d1c24fdd0ca 100644 --- a/include/sound/cs42l42.h +++ b/include/sound/cs42l42.h @@ -40,6 +40,7 @@ #define CS42L42_PAGE_30 0x3000 #define CS42L42_CHIP_ID 0x42A42 +#define CS42L83_CHIP_ID 0x42A83 /* Page 0x10 Global Registers */ #define CS42L42_DEVID_AB (CS42L42_PAGE_10 + 0x01) |