]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: axp221: Add VBUS detection support
authorChen-Yu Tsai <wens@csie.org>
Mon, 9 Mar 2015 07:44:15 +0000 (15:44 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:28:32 +0000 (14:28 +0200)
commit789727332e98fef8f3bb20212bd09c2135aa21b3
tree7331fb79e76f0dc98dfe09fd72eedff94d0fd310
parentb8302d3a41cbb14eba46e9224ec1f1a8ceaebbe8
sunxi: axp221: Add VBUS detection support

Some of the AXP PMICs support VBUS detection, i.e. checking whether
VBUS power input is available and usable (supplied by an external
source). A few boards use this instead of a separate GPIO to detect
VBUS on USB OTG.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/power/axp221.c
include/axp221.h