ASoC: rt5682: Support DBVDD and LDO1-IN supplies
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Wed, 2 Nov 2022 18:20:00 +0000 (14:20 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 16:12:40 +0000 (16:12 +0000)
Add support for the DBVDD and LDO1-IN supplies.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20221102182002.255282-7-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h

index 2df95e7..7e3eb65 100644 (file)
@@ -35,6 +35,8 @@ const char *rt5682_supply_names[RT5682_NUM_SUPPLIES] = {
        "AVDD",
        "MICVDD",
        "VBAT",
+       "DBVDD",
+       "LDO1-IN",
 };
 EXPORT_SYMBOL_GPL(rt5682_supply_names);
 
index 52ff0d9..d568c69 100644 (file)
@@ -1424,7 +1424,7 @@ enum {
        RT5682_CLK_SEL_I2S2_ASRC,
 };
 
-#define RT5682_NUM_SUPPLIES 3
+#define RT5682_NUM_SUPPLIES 5
 
 struct rt5682_priv {
        struct snd_soc_component *component;