[PATCH 0/2] Rockchip: Add option to prevent boot on plug-in

Chris Morgan macroalpha82 at gmail.com
Mon May 23 21:29:59 CEST 2022


From: Chris Morgan <macromorgan at hotmail.com>

Sometimes it is desirable to prevent a board from automatically booting
as soon as the power cable is plugged in. For boards with an rk8xx
PMIC, (excluding the rk808) we can actually query the power up source.

Chris Morgan (2):
  power: pmic: rk8xx: Support sysreset shutdown method
  rockchip: Add option to prevent booting on power plug-in

 arch/arm/mach-rockchip/Kconfig | 10 ++++
 drivers/power/pmic/rk8xx.c     | 92 +++++++++++++++++++++++++++++++++-
 include/power/rk8xx_pmic.h     |  3 ++
 3 files changed, 104 insertions(+), 1 deletion(-)

-- 
2.25.1



More information about the U-Boot mailing list