[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190321221549.13765-4-jcormier@criticallink.com>
Date: Thu, 21 Mar 2019 18:15:45 -0400
From: "Cormier, Jonathan" <jcormier@...ticallink.com>
To: Liam Girdwood <lgirdwood@...il.com>, devicetree@...r.kernel.org
Cc: Bob Duke <bduke@...ticallink.com>,
Mike Williamson <michael.williamson@...ticallink.com>,
Greg Gluszek <greg.gluszek@...ticallink.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Brown <broonie@...aro.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Jyri Sarha <jsarha@...com>,
Misael Lopez Cruz <misael.lopez@...com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 3/7] ASoC: tlv320aic26: Add device tree binding
Add support for the TI tlv320aic26 sound codec
Signed-off-by: Cormier, Jonathan <jcormier@...ticallink.com>
---
sound/soc/codecs/tlv320aic26.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c
index b91b8d5f1ba3..5c9b320b918c 100644
--- a/sound/soc/codecs/tlv320aic26.c
+++ b/sound/soc/codecs/tlv320aic26.c
@@ -368,9 +368,16 @@ static int aic26_spi_probe(struct spi_device *spi)
return ret;
}
+static const struct of_device_id tlv320aic26_of_match[] = {
+ { .compatible = "ti,tlv320aic26", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, tlv320aic26_of_match);
+
static struct spi_driver aic26_spi = {
.driver = {
.name = "tlv320aic26-codec",
+ .of_match_table = of_match_ptr(tlv320aic26_of_match),
},
.probe = aic26_spi_probe,
};
--
2.21.0
Powered by blists - more mailing lists