
27 May
2022
27 May
'22
8:18 p.m.
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