summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2023-11-13 10:37:15 +0000
committerMark Brown <broonie@kernel.org>2023-11-14 17:39:27 +0000
commit577d71544871b075a25a09e4c5aa31008850c0a8 (patch)
treec661c3de6678b292f7fcff565a1ae52292798c60 /include/sound
parentd3534684ada99ef8c0899eb28c62b4462483ee19 (diff)
ASoC: rt5682s: Add LDO output selection for dacref
Add LDO output selection for dacref. Signed-off-by: Jack Yu <jack.yu@realtek.com> Link: https://lore.kernel.org/r/62cad4e51c044108bad872ab349e36f8@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5682s.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/rt5682s.h b/include/sound/rt5682s.h
index 66ca0c75b914..006e6003d11c 100644
--- a/include/sound/rt5682s.h
+++ b/include/sound/rt5682s.h
@@ -31,6 +31,13 @@ enum rt5682s_dai_clks {
RT5682S_DAI_NUM_CLKS,
};
+enum {
+ RT5682S_LDO_1_607V,
+ RT5682S_LDO_1_5V,
+ RT5682S_LDO_1_406V,
+ RT5682S_LDO_1_731V,
+};
+
struct rt5682s_platform_data {
enum rt5682s_dmic1_data_pin dmic1_data_pin;
enum rt5682s_dmic1_clk_pin dmic1_clk_pin;
@@ -38,6 +45,7 @@ struct rt5682s_platform_data {
unsigned int dmic_clk_rate;
unsigned int dmic_delay;
unsigned int amic_delay;
+ unsigned int ldo_dacref;
bool dmic_clk_driving_high;
const char *dai_clk_names[RT5682S_DAI_NUM_CLKS];