aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2014-10-10 23:46:36 -0400
committerMark Brown <broonie@kernel.org>2014-10-20 07:22:20 -0400
commit40eb90a18e93fbd4fd0e6892b31241356c3c8e43 (patch)
tree401f2d17cb15f745d8f31a7045bff61be7315f15 /include/sound
parent80fff6bf65dcae62255bdb592603dfc247c8cacf (diff)
ASoC: rt5677: Add option to configure gpio as floating/pullup/pulldown
gpio_config is array of 6 elements that allows to set GPIO as floating, pullup, pulldown. Sponsored: Google ChromeOS Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.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 082670e3a353..a56b429a1dbc 100644
--- a/include/sound/rt5677.h
+++ b/include/sound/rt5677.h
@@ -27,6 +27,9 @@ struct rt5677_platform_data {
27 bool lout3_diff; 27 bool lout3_diff;
28 /* DMIC2 clock source selection */ 28 /* DMIC2 clock source selection */
29 enum rt5677_dmic2_clk dmic2_clk_pin; 29 enum rt5677_dmic2_clk dmic2_clk_pin;
30
31 /* configures GPIO, 0 - floating, 1 - pulldown, 2 - pullup */
32 u8 gpio_config[6];
30}; 33};
31 34
32#endif 35#endif