[PATCH 4/5] ASoC: pcm179x: Add pcm1796 as compatible with pcm1792a

From: Roman Smrž

Date: Fri Oct 02 2026 - 05:55:02 EST


The PCM1796 is fully compatible with the PCM1792A.

Signed-off-by: Roman Smrž <roman@xxxxxxxxxxxxxxxxxxxx>
---
sound/soc/codecs/pcm179x-i2c.c | 1 +
sound/soc/codecs/pcm179x-spi.c | 1 +
2 files changed, 2 insertions(+)

diff --git a/sound/soc/codecs/pcm179x-i2c.c b/sound/soc/codecs/pcm179x-i2c.c
index 5337bcc7c62c..e81e20fadadf 100644
--- a/sound/soc/codecs/pcm179x-i2c.c
+++ b/sound/soc/codecs/pcm179x-i2c.c
@@ -32,6 +32,7 @@ static int pcm179x_i2c_probe(struct i2c_client *client)
#ifdef CONFIG_OF
static const struct of_device_id pcm179x_of_match[] = {
{ .compatible = "ti,pcm1792a", },
+ { .compatible = "ti,pcm1796", },
{ }
};
MODULE_DEVICE_TABLE(of, pcm179x_of_match);
diff --git a/sound/soc/codecs/pcm179x-spi.c b/sound/soc/codecs/pcm179x-spi.c
index 192fee90c971..e5e4b942acfc 100644
--- a/sound/soc/codecs/pcm179x-spi.c
+++ b/sound/soc/codecs/pcm179x-spi.c
@@ -31,6 +31,7 @@ static int pcm179x_spi_probe(struct spi_device *spi)

static const struct of_device_id pcm179x_of_match[] __maybe_unused = {
{ .compatible = "ti,pcm1792a", },
+ { .compatible = "ti,pcm1796" },
{ }
};
MODULE_DEVICE_TABLE(of, pcm179x_of_match);

--
2.55.0