summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2017-05-23 15:47:30 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 11:09:01 +0200
commit27a49ed17e2245cacbdea88ad78b8494653e0338 (patch)
tree58b1810f4ab32cb032a5a72928df0658886e4db6 /block
parent05f479bf7d239f01ff6546f2bdeb14ad0fe65601 (diff)
downloadlinux-27a49ed17e2245cacbdea88ad78b8494653e0338.tar.gz
linux-27a49ed17e2245cacbdea88ad78b8494653e0338.tar.bz2
linux-27a49ed17e2245cacbdea88ad78b8494653e0338.zip
gpio: arizona: Add support for GPIOs that need to be maintained
The Arizona devices only maintain the state of output GPIOs whilst the CODEC is active, this can cause issues if the CODEC suspends whilst something is relying on the state of one of its GPIOs. However, in many systems the CODEC GPIOs are used for audio related features and thus the state of the GPIOs is unimportant whilst the CODEC is suspended. Often keeping the CODEC resumed in such a system would incur a power impact that is unacceptable. Allow the user to select whether a GPIO output should keep the CODEC resumed, by adding a flag through the second cell of the GPIO specifier in device tree. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions