浏览代码

ASoC: tlv320aic3x: List tlv320aic3106 as a supported device

Currently there is no specific handling for it but the tlv320aic3106 is
supported using this driver.

Signed-off-by: Mark Brown <broonie@linaro.org>
Mark Brown 12 年之前
父节点
当前提交
cbaa568961
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      Documentation/devicetree/bindings/sound/tlv320aic3x.txt
  2. 2 0
      sound/soc/codecs/tlv320aic3x.c

+ 1 - 0
Documentation/devicetree/bindings/sound/tlv320aic3x.txt

@@ -8,6 +8,7 @@ Required properties:
     "ti,tlv320aic3x" - Generic TLV320AIC3x device
     "ti,tlv320aic33" - TLV320AIC33
     "ti,tlv320aic3007" - TLV320AIC3007
+    "ti,tlv320aic3106" - TLV320AIC3106
 
 
 - reg - <int> -  I2C slave address

+ 2 - 0
sound/soc/codecs/tlv320aic3x.c

@@ -1492,6 +1492,7 @@ static const struct i2c_device_id aic3x_i2c_id[] = {
 	{ "tlv320aic3x", AIC3X_MODEL_3X },
 	{ "tlv320aic33", AIC3X_MODEL_33 },
 	{ "tlv320aic3007", AIC3X_MODEL_3007 },
+	{ "tlv320aic3106", AIC3X_MODEL_3X },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, aic3x_i2c_id);
@@ -1584,6 +1585,7 @@ static const struct of_device_id tlv320aic3x_of_match[] = {
 	{ .compatible = "ti,tlv320aic3x", },
 	{ .compatible = "ti,tlv320aic33" },
 	{ .compatible = "ti,tlv320aic3007" },
+	{ .compatible = "ti,tlv320aic3106" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320aic3x_of_match);