diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-12-20 16:14:31 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-01-26 16:20:04 +0100 |
commit | fe4b71b2373cf0627fbd9d9767fb66059e67eea7 (patch) | |
tree | e7e60bd1cad694ee5e49fc24573f84e863ffbfc9 /include | |
parent | 467e92b35721447045c70d464c85aee8dbe0db2e (diff) | |
download | u-boot-imx-fe4b71b2373cf0627fbd9d9767fb66059e67eea7.zip u-boot-imx-fe4b71b2373cf0627fbd9d9767fb66059e67eea7.tar.gz u-boot-imx-fe4b71b2373cf0627fbd9d9767fb66059e67eea7.tar.bz2 |
sunxi: Implement poweroff support for axp221 pmic
Adds poweroff support for axp221 pmic.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/axp221.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/axp221.h b/include/axp221.h index 0ee21b6..04cd8c2 100644 --- a/include/axp221.h +++ b/include/axp221.h @@ -45,6 +45,8 @@ #define AXP221_ALDO3_CTRL 0x2a #define AXP221_VBUS_IPSOUT 0x30 #define AXP221_VBUS_IPSOUT_DRIVEBUS (1 << 2) +#define AXP221_SHUTDOWN 0x32 +#define AXP221_SHUTDOWN_POWEROFF (1 << 7) #define AXP221_MISC_CTRL 0x8f #define AXP221_MISC_CTRL_N_VBUSEN_FUNC (1 << 4) #define AXP221_PAGE 0xff |