]> git.baikalelectronics.ru Git - uboot.git/commit
pmic: axp: define ALDO_IN startup bit
authorAndre Przywara <andre.przywara@arm.com>
Fri, 21 Jan 2022 13:37:31 +0000 (13:37 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:25:00 +0000 (01:25 +0000)
commit0263ca03ec27ee121ca1facbaa93ec823db568d7
tree849becdff4b1d9a81fe2c1101f44c41ae9aee31d
parent3874923bb8ac53c78fcbb1ab2d88c8b2a142fa4d
pmic: axp: define ALDO_IN startup bit

Most AXP PMICs feature a "startup source" register, which keeps
information about how the PMIC started operation. Bit 0 in there means
it has been started by "plugging in the power cable".

Define a symbol in each PMIC's header file to be able to use that
register and bit later on.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
include/axp152.h
include/axp209.h
include/axp221.h
include/axp305.h
include/axp809.h
include/axp818.h