Commit 95579eaf authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Mark Brown

ASoC: da7213: Add da7212 DT compatible

This adds a compatible for da7212. It's handled exactly the
same way as DA7213 and follows the ACPI bindings.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20200511132544.82364-2-sebastian.reichel@collabora.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d731c1a0
Dialog Semiconductor DA7213 Audio Codec bindings Dialog Semiconductor DA7212/DA7213 Audio Codec bindings
====== ======
Required properties: Required properties:
- compatible : Should be "dlg,da7213" - compatible : Should be "dlg,da7212" or "dlg,da7213"
- reg: Specifies the I2C slave address - reg: Specifies the I2C slave address
Optional properties: Optional properties:
......
...@@ -1571,6 +1571,7 @@ static int da7213_set_bias_level(struct snd_soc_component *component, ...@@ -1571,6 +1571,7 @@ static int da7213_set_bias_level(struct snd_soc_component *component,
#if defined(CONFIG_OF) #if defined(CONFIG_OF)
/* DT */ /* DT */
static const struct of_device_id da7213_of_match[] = { static const struct of_device_id da7213_of_match[] = {
{ .compatible = "dlg,da7212", },
{ .compatible = "dlg,da7213", }, { .compatible = "dlg,da7213", },
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment