diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-09-17 13:14:20 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-24 09:59:03 +0100 |
commit | f9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d (patch) | |
tree | 60a1b73c67ffa679a5cc1ad9e9a839fc1d6a2617 /sound/soc/codecs/rt5677.h | |
parent | 90bdbb46f41c9fa670d7b0709e0c8a92ad82bdfe (diff) | |
download | linux-stable-f9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d.tar.gz linux-stable-f9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d.tar.bz2 linux-stable-f9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d.zip |
ASoC: rt5677: Add a configuration option for LDO2_POW pin
Some boards have this pin statically tied and do not require any configuration,
some other boards allow to enable chip using GPIO.
Add an option that tells which GPIO is used to power the audio codec.
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677.h')
-rw-r--r-- | sound/soc/codecs/rt5677.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5677.h b/sound/soc/codecs/rt5677.h index 1fe88727a063..d4eb6d5e6746 100644 --- a/sound/soc/codecs/rt5677.h +++ b/sound/soc/codecs/rt5677.h @@ -1554,6 +1554,7 @@ struct rt5677_priv { int pll_src; int pll_in; int pll_out; + int pow_ldo2; /* POW_LDO2 pin */ #ifdef CONFIG_GPIOLIB struct gpio_chip gpio_chip; #endif |