ASoC: rt5677: Add a configuration option for LDO2_POW pin
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Wed, 17 Sep 2014 20:14:20 +0000 (13:14 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 24 Sep 2014 08:59:03 +0000 (09:59 +0100)
commitf9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d
tree60a1b73c67ffa679a5cc1ad9e9a839fc1d6a2617
parent90bdbb46f41c9fa670d7b0709e0c8a92ad82bdfe
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>
Documentation/devicetree/bindings/sound/rt5677.txt [new file with mode: 0644]
sound/soc/codecs/rt5677.c
sound/soc/codecs/rt5677.h