diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-10-10 20:46:36 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 12:22:20 +0100 |
commit | 40eb90a18e93fbd4fd0e6892b31241356c3c8e43 (patch) | |
tree | 401f2d17cb15f745d8f31a7045bff61be7315f15 /include/sound/rt5677.h | |
parent | 80fff6bf65dcae62255bdb592603dfc247c8cacf (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/rt5677.h')
-rw-r--r-- | include/sound/rt5677.h | 3 |
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 { bool lout3_diff; /* DMIC2 clock source selection */ enum rt5677_dmic2_clk dmic2_clk_pin; + + /* configures GPIO, 0 - floating, 1 - pulldown, 2 - pullup */ + u8 gpio_config[6]; }; #endif |