]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: es8328-i2c: Add compatible for ES8388
authorRomain Perier <romain.perier@collabora.com>
Mon, 23 Jan 2017 10:41:46 +0000 (11:41 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jan 2017 18:09:21 +0000 (18:09 +0000)
This commit adds a compatible string for everest,es8388. This is
an audio codec that is compatible with es8328.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/es8328.txt
sound/soc/codecs/es8328-i2c.c

index 30ea8a318ae98070624f754f563e56ef2c2be5cd..33fbf058c997c65f5afa899df614e7900f5bfe69 100644 (file)
@@ -4,7 +4,7 @@ This device supports both I2C and SPI.
 
 Required properties:
 
-  - compatible : "everest,es8328"
+  - compatible  : Should be "everest,es8328" or "everest,es8388"
   - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V
   - AVDD-supply : Regulator providing analog supply voltage 3.3V
   - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V
index 2d05b5d3a6ce7fdc3531f5c322853dbb1a0ca63e..318ab28c5351fcd198603b71b427e6972bbc43c5 100644 (file)
 
 static const struct i2c_device_id es8328_id[] = {
        { "es8328", 0 },
+       { "es8388", 0 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8328_id);
 
 static const struct of_device_id es8328_of_match[] = {
        { .compatible = "everest,es8328", },
+       { .compatible = "everest,es8388", },
        { }
 };
 MODULE_DEVICE_TABLE(of, es8328_of_match);