summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm512x-spi.c
diff options
context:
space:
mode:
authorChristian Hewitt <christianshewitt@gmail.com>2024-06-22 15:12:45 +0200
committerMark Brown <broonie@kernel.org>2024-06-22 15:46:29 +0200
commit9c9b172fdd918c2f852140fc4a3cd827b78fa947 (patch)
tree82b2ec59531f1f7b1a6f016c98d02329e810cd79 /sound/soc/codecs/pcm512x-spi.c
parentASoC: Merge up fixes (diff)
downloadlinux-9c9b172fdd918c2f852140fc4a3cd827b78fa947.tar.xz
linux-9c9b172fdd918c2f852140fc4a3cd827b78fa947.zip
ASoC: Add support for ti,pcm5242 to the pcm512x driver
Add a compatible string to enable support for the ti,pcm5242 DAC chip in the pcm512x driver. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Link: https://patch.msgid.link/20240622131245.2607533-3-christianshewitt@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm512x-spi.c')
-rw-r--r--sound/soc/codecs/pcm512x-spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm512x-spi.c b/sound/soc/codecs/pcm512x-spi.c
index 4d29e7196380..6629b862f47d 100644
--- a/sound/soc/codecs/pcm512x-spi.c
+++ b/sound/soc/codecs/pcm512x-spi.c
@@ -36,6 +36,7 @@ static const struct spi_device_id pcm512x_spi_id[] = {
{ "pcm5122", },
{ "pcm5141", },
{ "pcm5142", },
+ { "pcm5242", },
{ },
};
MODULE_DEVICE_TABLE(spi, pcm512x_spi_id);
@@ -45,6 +46,7 @@ static const struct of_device_id pcm512x_of_match[] = {
{ .compatible = "ti,pcm5122", },
{ .compatible = "ti,pcm5141", },
{ .compatible = "ti,pcm5142", },
+ { .compatible = "ti,pcm5242", },
{ }
};
MODULE_DEVICE_TABLE(of, pcm512x_of_match);