regulator: lp872x: Add enable GPIO pin support
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 5 Feb 2016 18:42:19 +0000 (19:42 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 5 Feb 2016 18:57:09 +0000 (18:57 +0000)
commit7e6213f4345c3798b7fb7af41d221e2fd77ec6a6
treedb5025cf16488f9b37c8b67785c991ce64185302
parent690f44badf2f44b8ec09098118b74f789f95e2c8
regulator: lp872x: Add enable GPIO pin support

LP872x regulators are made active via the EN pin, which might be hooked to a
GPIO. This adds support for driving the GPIO high when the driver is in use.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/lp872x.txt
drivers/regulator/lp872x.c
include/linux/regulator/lp872x.h