mirror of
https://xff.cz/git/u-boot/
synced 2025-10-17 16:02:33 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user