u-boot/drivers/power/pmic
Samuel Holland 95d9ffd7b6 power: pmic: axp: Implement poweroff via sysreset
The AXP PMICs have the ability to power off the system. The existing
code for this is duplicated for each PMIC variant, and uses the legacy
non-DM "pmic_bus" interface. When SYSRESET is enabled, this can all be
replaced with a sysreset device using the DM_PMIC interface.

Since the trigger bit is the same on all PMIC variants, use the register
definitions from the oldest supported PMIC.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-10-25 14:51:03 +01:00
..
ab8500.c power: pmic: Add driver for ST-Ericsson AB8500 via PRCMU 2021-07-14 16:48:14 -04:00
act8846.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
as3722.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
as3722_gpio.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
axp.c power: pmic: axp: Implement poweroff via sysreset 2021-10-25 14:51:03 +01:00
bd71837.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
da9063.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fan53555.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i2c_pmic_emul.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
Kconfig power: pmic: axp: Implement poweroff via sysreset 2021-10-25 14:51:03 +01:00
lp873x.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lp87565.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile power: pmic: Add a driver for X-Powers AXP PMICs 2021-10-12 09:41:57 +01:00
max8997.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
max8998.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
max77686.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mc34708.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mp5416.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
muic_max8997.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
palmas.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pca9450.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pfuze100.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pm8916.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pmic-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
pmic_hi6553.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
pmic_ltc3676.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_mc34vr500.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_pca9450.c power: pca9450: add a new parameter for power_pca9450_init 2021-04-08 09:18:29 +02:00
pmic_pfuze100.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmic_pfuze3000.c power: pmic: Let PFUZE3000 see all 256 registers 2018-06-27 09:47:46 +02:00
pmic_tps62362.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
pmic_tps65217.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
pmic_tps65218.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
pmic_tps65910.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
pmic_tps65910_dm.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rk8xx.c dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
rn5t567.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s2mps11.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5m8767.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
stpmic1.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
tps65090.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tps65941.c power: pmic: tps65941: Add compatible for LP876441 2021-07-15 17:56:04 +05:30