Commit f2c4fa65 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: tlv320aic3x: Add compatible strings for specific devices



The driver supports a range of devices but currently doesn't allow those
device names to be used for enumeration on DT. Add the currently listed
I2C IDs as compatible strings.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ad81f054
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3,7 +3,13 @@ Texas Instruments - tlv320aic3x Codec module
The tlv320aic3x serial control bus communicates through I2C protocols

Required properties:
- compatible - "string" -  "ti,tlv320aic3x"

- compatible - "string" - One of:
    "ti,tlv320aic3x" - Generic TLV320AIC3x device
    "ti,tlv320aic33" - TLV320AIC33
    "ti,tlv320aic3007" - TLV320AIC3007


- reg - <int> -  I2C slave address


+2 −0
Original line number Diff line number Diff line
@@ -1582,6 +1582,8 @@ static int aic3x_i2c_remove(struct i2c_client *client)
#if defined(CONFIG_OF)
static const struct of_device_id tlv320aic3x_of_match[] = {
	{ .compatible = "ti,tlv320aic3x", },
	{ .compatible = "ti,tlv320aic33" },
	{ .compatible = "ti,tlv320aic3007" },
	{},
};
MODULE_DEVICE_TABLE(of, tlv320aic3x_of_match);