ASoC: rt5682: Support DBVDD and LDO1-IN supplies

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>
This commit is contained in:
Nícolas F. R. A. Prado 2022-11-02 14:20:00 -04:00 committed by Mark Brown
parent 5aab1a56b3
commit 318ff06930
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 3 additions and 1 deletions

View 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);

View 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;