summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas2562.c
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-09-18 18:01:30 +0300
committerMark Brown <broonie@kernel.org>2020-09-21 19:28:12 +0300
commit534c0f4391a497d10c2b5eb3df2016221b6ec4f6 (patch)
treeb48a35849209c42d073ad0ab3f75caba510e3a34 /sound/soc/codecs/tas2562.c
parent7a477213923fe07c17db7c3104cce6b316f75f60 (diff)
downloadlinux-534c0f4391a497d10c2b5eb3df2016221b6ec4f6.tar.xz
ASoC: tas2562: Add the TAS2564 compatible
Add the TAS2564 as a supported amplifier. This amplifier is register, bitmap and feature compatible to the TAS2562. Signed-off-by: Dan Murphy <dmurphy@ti.com> Link: https://lore.kernel.org/r/20200918150130.21015-2-dmurphy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2562.c')
-rw-r--r--sound/soc/codecs/tas2562.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c
index 99920c691d28..56d410141ee0 100644
--- a/sound/soc/codecs/tas2562.c
+++ b/sound/soc/codecs/tas2562.c
@@ -58,6 +58,7 @@ struct tas2562_data {
enum tas256x_model {
TAS2562,
TAS2563,
+ TAS2564,
};
static int tas2562_set_bias_level(struct snd_soc_component *component,
@@ -761,6 +762,7 @@ static int tas2562_probe(struct i2c_client *client,
static const struct i2c_device_id tas2562_id[] = {
{ "tas2562", TAS2562 },
{ "tas2563", TAS2563 },
+ { "tas2564", TAS2564 },
{ }
};
MODULE_DEVICE_TABLE(i2c, tas2562_id);
@@ -768,6 +770,7 @@ MODULE_DEVICE_TABLE(i2c, tas2562_id);
static const struct of_device_id tas2562_of_match[] = {
{ .compatible = "ti,tas2562", },
{ .compatible = "ti,tas2563", },
+ { .compatible = "ti,tas2564", },
{ },
};
MODULE_DEVICE_TABLE(of, tas2562_of_match);