summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas5720.h
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2017-12-11 22:01:54 +0300
committerMark Brown <broonie@kernel.org>2017-12-12 15:03:03 +0300
commit872bcad246e30f0ae8009a0f8c13874009601445 (patch)
treeb9816a41bde2f2221af74a8df641d12c06a509e0 /sound/soc/codecs/tas5720.h
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-872bcad246e30f0ae8009a0f8c13874009601445.tar.xz
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.h1
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)