diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2017-12-11 20:01:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-12 13:03:03 +0100 |
commit | 872bcad246e30f0ae8009a0f8c13874009601445 (patch) | |
tree | b9816a41bde2f2221af74a8df641d12c06a509e0 /sound/soc/codecs/tas5720.h | |
parent | Linux 4.15-rc1 (diff) | |
download | linux-872bcad246e30f0ae8009a0f8c13874009601445.tar.xz linux-872bcad246e30f0ae8009a0f8c13874009601445.zip |
ASoC: tas5720: add basic support for TAS5722 devices
The TI TAS5722 digital amplifier is very similar to the TAS5720 from an
overall and register map perspective. Therefore the existing driver can be
extended easily to support this additional device. This commit allows
TAS5722 devices to be used in a "subset" type of fashion, without exposing
any of the additional features they offer.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas5720.h')
-rw-r--r-- | sound/soc/codecs/tas5720.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas5720.h b/sound/soc/codecs/tas5720.h index 3d077c779b12..bef802afcc69 100644 --- a/sound/soc/codecs/tas5720.h +++ b/sound/soc/codecs/tas5720.h @@ -32,6 +32,7 @@ /* TAS5720_DEVICE_ID_REG */ #define TAS5720_DEVICE_ID 0x01 +#define TAS5722_DEVICE_ID 0x12 /* TAS5720_POWER_CTRL_REG */ #define TAS5720_DIG_CLIP_MASK GENMASK(7, 2) |