u-boot/drivers/power
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
..
acpi_pmc x86: sandbox: Add missing PCI bar to barinfo 2022-04-29 11:11:36 -04:00
battery common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
domain Merge https://gitlab.denx.de/u-boot/custodians/u-boot-pmic 2022-04-22 11:06:38 -04:00
fuel_gauge common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mfd common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic rockchip: Add option to prevent booting on power plug-in 2022-06-29 11:42:10 +08:00
regulator pmic: pca9450: Add regulator driver 2022-05-20 12:36:48 +02:00
axp152.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
axp209.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
axp221.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
axp305.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
axp809.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
axp818.c power: axp: Avoid do_poweroff conflict with sysreset 2021-10-25 14:50:54 +01:00
exynos-tmu.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ftpmu010.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig power: Add a POWER config 2021-09-04 12:26:02 -04:00
Makefile power: Refactor Makefile rules 2021-09-04 12:26:02 -04:00
mt6323.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
palmas.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
power_core.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
power_dialog.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_fsl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
power_i2c.c imx: imx8mn_evk: correct stack/malloc adress 2021-01-23 11:30:30 +01:00
power_spi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sy8106a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tps6586x.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
twl4030.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
twl6030.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00