diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-05-02 10:28:12 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-05-25 17:52:39 +0200 |
commit | 15278ccb848dbcd8825874f943bc21afda987219 (patch) | |
tree | 98526b20799ef16c414bf990e99dc26899d4e967 /include/axp_pmic.h | |
parent | a696253c1daf3424408868fc76840c83a896acfe (diff) |
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>
Diffstat (limited to 'include/axp_pmic.h')
-rw-r--r-- | include/axp_pmic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/axp_pmic.h b/include/axp_pmic.h index b203cc88ddb..2ed5196354e 100644 --- a/include/axp_pmic.h +++ b/include/axp_pmic.h @@ -32,6 +32,7 @@ int axp_set_aldo4(unsigned int mvolt); int axp_set_dldo(int dldo_num, unsigned int mvolt); int axp_set_eldo(int eldo_num, unsigned int mvolt); int axp_set_fldo(int fldo_num, unsigned int mvolt); +int axp_set_sw(bool on); int axp_init(void); int axp_get_sid(unsigned int *sid); |