[PATCH v2 1/2] power: pmic: rk8xx: Use sysreset implementation of the poweroff command

Kever Yang kever.yang at rock-chips.com
Thu Aug 17 10:27:52 CEST 2023


On 2023/8/17 13:45, Jonas Karlman wrote:
> Select SYSRESET_CMD_POWEROFF to use the sysreset implementation of the
> poweroff command when PMIC_RK8XX is enabled.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> v2:
> - Split patch
> - Collect r-b tag
>
>   drivers/power/pmic/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
> index 176fb07c651a..4a6f0ce093ad 100644
> --- a/drivers/power/pmic/Kconfig
> +++ b/drivers/power/pmic/Kconfig
> @@ -233,6 +233,7 @@ config PMIC_QCOM
>   
>   config PMIC_RK8XX
>   	bool "Enable support for Rockchip PMIC RK8XX"
> +	select SYSRESET_CMD_POWEROFF if SYSRESET && CMD_POWEROFF
>   	---help---
>   	The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
>   	an RTC and two low Rds (resistance (drain to source)) switches. It is


More information about the U-Boot mailing list