Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: es8328-i2c: Add compatible for ES8388

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>

authored by

Romain Perier and committed by
Mark Brown
5f166156 a5de5b74

+3 -1
+1 -1
Documentation/devicetree/bindings/sound/es8328.txt
··· 4 4 5 5 Required properties: 6 6 7 - - compatible : "everest,es8328" 7 + - compatible : Should be "everest,es8328" or "everest,es8388" 8 8 - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V 9 9 - AVDD-supply : Regulator providing analog supply voltage 3.3V 10 10 - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V
+2
sound/soc/codecs/es8328-i2c.c
··· 20 20 21 21 static const struct i2c_device_id es8328_id[] = { 22 22 { "es8328", 0 }, 23 + { "es8388", 0 }, 23 24 { } 24 25 }; 25 26 MODULE_DEVICE_TABLE(i2c, es8328_id); 26 27 27 28 static const struct of_device_id es8328_of_match[] = { 28 29 { .compatible = "everest,es8328", }, 30 + { .compatible = "everest,es8388", }, 29 31 { } 30 32 }; 31 33 MODULE_DEVICE_TABLE(of, es8328_of_match);