summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorOder Chiou2014-03-28 03:46:18 +0100
committerMark Brown2014-04-14 18:27:41 +0200
commit71d97a7943017faf03707836d00a260a108f4c89 (patch)
tree457a025cf06158fb4ead01367848d122d3446f40 /include/sound
parentASoC: rt5640: Correct the judgement of data length (diff)
downloadkernel-qcow2-linux-71d97a7943017faf03707836d00a260a108f4c89.tar.gz
kernel-qcow2-linux-71d97a7943017faf03707836d00a260a108f4c89.tar.xz
kernel-qcow2-linux-71d97a7943017faf03707836d00a260a108f4c89.zip
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')
-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 */
};