power: axp221: Virtual VBUS detect and enable GPIOs to replace separate logic
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 22 Mar 2015 17:07:09 +0000 (18:07 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 Apr 2015 14:17:17 +0000 (16:17 +0200)
commitf7c7ab636ab2c81d9fb1def7256c94b998c7298f
tree3b6126d1c3be0916c745c595f2aa95abbc6707cc
parent991963bce9e3a8f51499785c736ec54e527f3a2b
power: axp221: Virtual VBUS detect and enable GPIOs to replace separate logic

This converts the VBUS detection and enable logic to GPIO instead of separate
axp functions and checks that have to be used aside usual GPIO functions.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/include/asm/arch-sunxi/gpio.h
drivers/gpio/sunxi_gpio.c
drivers/power/axp221.c
include/axp221.h