u-boot/drivers/power/pmic
Chris Morgan 30975fb73d rockchip: Add option to prevent booting on power plug-in
For Rockchip boards with the all rk8xx series PMICs (excluding the
rk808), it is sometimes desirable to not boot whenever the device is
plugged in. An example would be for the Odroid Go Advance.

This provides a configurable option to check the PMIC says it was
powered because of a plug-in event. If the value is 1 and this option
is selected, the device shuts down shortly after printing a message
to console stating the reason why it's shutting down. Powering up the
board with the power button is not affected.

This patch parallels the work done in the following patch series:
https://lore.kernel.org/u-boot/20220121133732.2397273-1-andre.przywara@arm.com/

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2022-06-29 11:42:10 +08: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_gpio.c power: pmic: Correct debug/error output 2018-11-29 09:30:05 -07:00
as3722.c common: Drop log.h from common header 2020-05-18 21:19:18 -04: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 pmic: pca9450: add DM_I2C dependencies in Kconfig 2022-06-14 11:20:50 +09: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: add driver for the TPS65219 PMIC 2022-05-09 13:40:24 -04: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 pmic: pca9450: Add optional SD_VSEL GPIO for LDO5 2022-06-28 15:24:31 +02: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_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 power: pmic: Provide DM_PMIC support for tps65217 driver 2022-04-05 15:51:52 -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_dm.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic_tps65910.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
pmic-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
rk8xx.c rockchip: Add option to prevent booting on power plug-in 2022-06-29 11:42:10 +08: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
tps65219.c power: add driver for the TPS65219 PMIC 2022-05-09 13:40:24 -04:00
tps65941.c drivers: power: pmic: Add support for tps659412 PMIC 2022-02-16 14:19:29 -05:00