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>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- include/sound/cs42l42.h 1 addition, 0 deletionsinclude/sound/cs42l42.h
- sound/soc/codecs/Kconfig 7 additions, 0 deletionssound/soc/codecs/Kconfig
- sound/soc/codecs/Makefile 2 additions, 0 deletionssound/soc/codecs/Makefile
- sound/soc/codecs/cs42l42-i2c.c 1 addition, 0 deletionssound/soc/codecs/cs42l42-i2c.c
- sound/soc/codecs/cs42l42.c 5 additions, 4 deletionssound/soc/codecs/cs42l42.c
- sound/soc/codecs/cs42l42.h 1 addition, 0 deletionssound/soc/codecs/cs42l42.h
- sound/soc/codecs/cs42l83-i2c.c 242 additions, 0 deletionssound/soc/codecs/cs42l83-i2c.c
Please register or sign in to comment