sunxi: power: axp818: Add support for switch SW
authorChen-Yu Tsai <wens@csie.org>
Mon, 2 May 2016 02:28:12 +0000 (10:28 +0800)
committerHans de Goede <hdegoede@redhat.com>
Wed, 25 May 2016 15:52:39 +0000 (17:52 +0200)
commit15278ccb848dbcd8825874f943bc21afda987219
tree98526b20799ef16c414bf990e99dc26899d4e967
parenta696253c1daf3424408868fc76840c83a896acfe
sunxi: power: axp818: Add support for switch SW

The AXP818 has a switchable output, SW. This is commonly used for
controlling power to the LCD backlight.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/board.c
drivers/power/Kconfig
drivers/power/axp818.c
include/axp818.h
include/axp_pmic.h