ASoC: tlv320aic3x: Add compatible strings for specific devices
authorMark Brown <broonie@linaro.org>
Tue, 16 Jul 2013 12:36:05 +0000 (13:36 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 16 Jul 2013 12:42:30 +0000 (13:42 +0100)
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: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/sound/tlv320aic3x.txt
sound/soc/codecs/tlv320aic3x.c

index f47c3f589fd03a8deb2485292116e33d17a0f7da..26f65f92f42d8c799ca9828a3f5e4d548ba67c4d 100644 (file)
@@ -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
 
 
index e5b926883131180c71cfe6239d1bca3be8fcf674..c9bb760f405fcf52fa0c9760b8722f125484c800 100644 (file)
@@ -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);
This page took 0.025886 seconds and 5 git commands to generate.