summaryrefslogtreecommitdiff
path: root/include/sound/rt5640.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2014-03-28 10:46:18 +0800
committerMark Brown <broonie@linaro.org>2014-04-14 17:27:41 +0100
commit71d97a7943017faf03707836d00a260a108f4c89 (patch)
tree457a025cf06158fb4ead01367848d122d3446f40 /include/sound/rt5640.h
parent9bccae733b8d0e281729464267191103c09b3d13 (diff)
ASoC: rt5640: Use the platform data for DMIC settings
The patch uses the platform data for DMIC settings. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/rt5640.h')
-rw-r--r--include/sound/rt5640.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/rt5640.h b/include/sound/rt5640.h
index 27cc75ed67f8..59d26dd81e45 100644
--- a/include/sound/rt5640.h
+++ b/include/sound/rt5640.h
@@ -16,6 +16,10 @@ struct rt5640_platform_data {
bool in1_diff;
bool in2_diff;
+ bool dmic_en;
+ bool dmic1_data_pin; /* 0 = IN1P; 1 = GPIO3 */
+ bool dmic2_data_pin; /* 0 = IN1N; 1 = GPIO4 */
+
int ldo1_en; /* GPIO for LDO1_EN */
};