diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-22 09:28:53 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-22 09:28:53 -0400 |
commit | f9061f2fc1e66264597c36ebb084fb8c35117e67 (patch) | |
tree | 71a13791325d384c524c1d321155e37b9497d186 | |
parent | 2291d2691473e9f4655e74cd1ae03c9e05fed6fd (diff) | |
parent | cbaa56896146cbb5ab54bd65f98d020af282e6c6 (diff) |
Merge remote-tracking branch 'asoc/topic/tlv320aic3x' into asoc-next
-rw-r--r-- | Documentation/devicetree/bindings/sound/tlv320aic3x.txt | 9 | ||||
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt index f47c3f589fd0..705a6b156c6c 100644 --- a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt +++ b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt | |||
@@ -3,7 +3,14 @@ Texas Instruments - tlv320aic3x Codec module | |||
3 | The tlv320aic3x serial control bus communicates through I2C protocols | 3 | The tlv320aic3x serial control bus communicates through I2C protocols |
4 | 4 | ||
5 | Required properties: | 5 | Required properties: |
6 | - compatible - "string" - "ti,tlv320aic3x" | 6 | |
7 | - compatible - "string" - One of: | ||
8 | "ti,tlv320aic3x" - Generic TLV320AIC3x device | ||
9 | "ti,tlv320aic33" - TLV320AIC33 | ||
10 | "ti,tlv320aic3007" - TLV320AIC3007 | ||
11 | "ti,tlv320aic3106" - TLV320AIC3106 | ||
12 | |||
13 | |||
7 | - reg - <int> - I2C slave address | 14 | - reg - <int> - I2C slave address |
8 | 15 | ||
9 | 16 | ||
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index fec0db04262d..6e3f269243e0 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -1474,6 +1474,7 @@ static const struct i2c_device_id aic3x_i2c_id[] = { | |||
1474 | { "tlv320aic3x", AIC3X_MODEL_3X }, | 1474 | { "tlv320aic3x", AIC3X_MODEL_3X }, |
1475 | { "tlv320aic33", AIC3X_MODEL_33 }, | 1475 | { "tlv320aic33", AIC3X_MODEL_33 }, |
1476 | { "tlv320aic3007", AIC3X_MODEL_3007 }, | 1476 | { "tlv320aic3007", AIC3X_MODEL_3007 }, |
1477 | { "tlv320aic3106", AIC3X_MODEL_3X }, | ||
1477 | { } | 1478 | { } |
1478 | }; | 1479 | }; |
1479 | MODULE_DEVICE_TABLE(i2c, aic3x_i2c_id); | 1480 | MODULE_DEVICE_TABLE(i2c, aic3x_i2c_id); |
@@ -1564,6 +1565,9 @@ static int aic3x_i2c_remove(struct i2c_client *client) | |||
1564 | #if defined(CONFIG_OF) | 1565 | #if defined(CONFIG_OF) |
1565 | static const struct of_device_id tlv320aic3x_of_match[] = { | 1566 | static const struct of_device_id tlv320aic3x_of_match[] = { |
1566 | { .compatible = "ti,tlv320aic3x", }, | 1567 | { .compatible = "ti,tlv320aic3x", }, |
1568 | { .compatible = "ti,tlv320aic33" }, | ||
1569 | { .compatible = "ti,tlv320aic3007" }, | ||
1570 | { .compatible = "ti,tlv320aic3106" }, | ||
1567 | {}, | 1571 | {}, |
1568 | }; | 1572 | }; |
1569 | MODULE_DEVICE_TABLE(of, tlv320aic3x_of_match); | 1573 | MODULE_DEVICE_TABLE(of, tlv320aic3x_of_match); |