diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-03-28 06:46:18 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 20:27:41 +0400 |
commit | 71d97a7943017faf03707836d00a260a108f4c89 (patch) | |
tree | 457a025cf06158fb4ead01367848d122d3446f40 /include/sound/rt5640.h | |
parent | 9bccae733b8d0e281729464267191103c09b3d13 (diff) | |
download | linux-71d97a7943017faf03707836d00a260a108f4c89.tar.xz |
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.h | 4 |
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 */ }; |