public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Rockchip: Add option to prevent boot on plug-in
@ 2022-05-27 18:18 Chris Morgan
  2022-05-27 18:18 ` [PATCH v2 1/2] power: pmic: rk8xx: Support sysreset shutdown method Chris Morgan
  2022-05-27 18:18 ` [PATCH v2 2/2] rockchip: Add option to prevent booting on power plug-in Chris Morgan
  0 siblings, 2 replies; 8+ messages in thread
From: Chris Morgan @ 2022-05-27 18:18 UTC (permalink / raw)
  To: u-boot; +Cc: jh80.chung, kever.yang, philipp.tomsich, sjg, Chris Morgan

From: Chris Morgan <macromorgan@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.

Changes from V1:
 - Moved a comment as requested to be above a function.
 - Removed unneeded variable of "plug_in".

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     | 84 +++++++++++++++++++++++++++++++++-
 include/power/rk8xx_pmic.h     |  3 ++
 3 files changed, 96 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-16 14:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 18:18 [PATCH v2 0/2] Rockchip: Add option to prevent boot on plug-in Chris Morgan
2022-05-27 18:18 ` [PATCH v2 1/2] power: pmic: rk8xx: Support sysreset shutdown method Chris Morgan
2022-07-07  8:41   ` Michal Suchánek
2022-07-15 17:10     ` Chris Morgan
2022-07-15 17:18       ` Michal Suchánek
2022-07-16 14:34         ` Michal Suchánek
2022-05-27 18:18 ` [PATCH v2 2/2] rockchip: Add option to prevent booting on power plug-in Chris Morgan
2022-05-30 22:41   ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox