diff options
author | Mark Brown <broonie@kernel.org> | 2020-06-01 14:01:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-01 14:01:15 +0200 |
commit | 358c7c61fd04d324f83d7968daf8dd9a6ff86a9a (patch) | |
tree | 23c64d19f8d321a501f9e3567befc527c0fe1d55 /sound/soc/codecs/da7213.h | |
parent | Merge remote-tracking branch 'asoc/for-5.7' into asoc-linus (diff) | |
parent | ASoC: qcom: q6asm-dai: kCFI fix (diff) | |
download | linux-358c7c61fd04d324f83d7968daf8dd9a6ff86a9a.tar.xz linux-358c7c61fd04d324f83d7968daf8dd9a6ff86a9a.zip |
Merge remote-tracking branch 'asoc/for-5.8' into asoc-linus
Diffstat (limited to 'sound/soc/codecs/da7213.h')
-rw-r--r-- | sound/soc/codecs/da7213.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7213.h b/sound/soc/codecs/da7213.h index 3250a3821fcc..3890829dfb6e 100644 --- a/sound/soc/codecs/da7213.h +++ b/sound/soc/codecs/da7213.h @@ -12,6 +12,7 @@ #include <linux/clk.h> #include <linux/regmap.h> +#include <linux/regulator/consumer.h> #include <sound/da7213.h> /* @@ -521,9 +522,17 @@ enum da7213_sys_clk { DA7213_SYSCLK_PLL_32KHZ }; +/* Regulators */ +enum da7213_supplies { + DA7213_SUPPLY_VDDA = 0, + DA7213_SUPPLY_VDDIO, + DA7213_NUM_SUPPLIES, +}; + /* Codec private data */ struct da7213_priv { struct regmap *regmap; + struct regulator_bulk_data supplies[DA7213_NUM_SUPPLIES]; struct clk *mclk; unsigned int mclk_rate; int clk_src; |