ASoC: max98090: Add max98091 compatible string
authorWonjoon Lee <woojoo.lee@samsung.com>
Fri, 20 Jun 2014 08:03:15 +0000 (13:33 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 30 Jun 2014 18:51:23 +0000 (19:51 +0100)
The MAX98091 CODEC is the same as MAX98090 CODEC, but with an extra
microphone. Existing driver for MAX98090 CODEC already has support
for MAX98091 CODEC. Adding proper compatible string so that MAX98091
CODEC can be specified from device tree.

Signed-off-by: Wonjoon Lee <woojoo.lee@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Tushar Behera <tushar.b@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/sound/max98090.txt
sound/soc/codecs/max98090.c

index a5e63fa47dc5d0e6fcb5adc2bbc010158f86b904..c454e67f54bbc04c04187796b6097aba68bb744d 100644 (file)
@@ -4,7 +4,7 @@ This device supports I2C only.
 
 Required properties:
 
-- compatible : "maxim,max98090".
+- compatible : "maxim,max98090" or "maxim,max98091".
 
 - reg : The I2C address of the device.
 
index 3aec3ae78fe045a7e2bc9d692dd15c8bdc89a58e..c00b36872dfea424dc0c29f40af1861eac882a5c 100644 (file)
@@ -2447,12 +2447,14 @@ static const struct dev_pm_ops max98090_pm = {
 
 static const struct i2c_device_id max98090_i2c_id[] = {
        { "max98090", MAX98090 },
+       { "max98091", MAX98091 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98090_i2c_id);
 
 static const struct of_device_id max98090_of_match[] = {
        { .compatible = "maxim,max98090", },
+       { .compatible = "maxim,max98091", },
        { }
 };
 MODULE_DEVICE_TABLE(of, max98090_of_match);
This page took 0.027039 seconds and 5 git commands to generate.