summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2015-01-08 03:31:06 +0100
committerMark Brown <broonie@kernel.org>2015-01-08 19:36:02 +0100
commit277880a356c10adcb43604f6ab9ec9b2d64db8b2 (patch)
treeb2ba380212e71c14a84b656f888a64e855910dd1 /include/sound
parentASoC: rt5677: Adjust the routing of "PLL1" (diff)
downloadlinux-277880a356c10adcb43604f6ab9ec9b2d64db8b2.tar.xz
linux-277880a356c10adcb43604f6ab9ec9b2d64db8b2.zip
ASoC: rt5677: Add the MICBIAS VDD setting in the platform data
The patch adds the MICBIAS VDD setting in the platform data. It can be set to 1V8 or 3V3 in the MICBIAS VDD. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5677.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/rt5677.h b/include/sound/rt5677.h
index d9eb7d861cd0..a6207043ac3c 100644
--- a/include/sound/rt5677.h
+++ b/include/sound/rt5677.h
@@ -37,6 +37,9 @@ struct rt5677_platform_data {
OFF, GPIO4, GPIO5 and GPIO6 respectively */
unsigned int jd2_gpio;
unsigned int jd3_gpio;
+
+ /* Set MICBIAS1 VDD 1v8 or 3v3 */
+ bool micbias1_vdd_3v3;
};
#endif