]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/gpio/gpio-pca953x.c
gpio: pca954x: Add vcc regulator and enable it
authorPhil Reid <preid@electromag.com.au>
Fri, 29 Jul 2016 03:39:55 +0000 (11:39 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Aug 2016 08:13:57 +0000 (10:13 +0200)
commite23efa311110648d58268c9b83b21de9d990a78c
tree52a88638b8f32c6a88e4e5f3eaba6cc52949a498
parent65053e1a7743e282c3dd08d3d435ac8b746f5359
gpio: pca954x: Add vcc regulator and enable it

Some i2c gpio devices are connected to a switchable power supply
which needs to be enabled prior to probing the device. This patch
allows the drive to enable the devices vcc regulator prior to probing.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c