Re: [PATCH] rockchip: rk356x: Enable poweroff command

2023-08-13 Thread Kever Yang
Hi Jonas,     Please split this patch into two patch, one for update defconfig and one for update pmic Kconfig. Thanks, - Kever On 2023/8/4 03:54, Jonas Karlman wrote: With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is possible to power down a board using the poweroff command

Re: [PATCH] rockchip: rk356x: Enable poweroff command

2023-08-03 Thread Jonas Karlman
Hi Kever, On 2023-08-04 03:37, Kever Yang wrote: > Hi Jonas, > > On 2023/8/4 03:54, Jonas Karlman wrote: >> With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is >> possible to power down a board using the poweroff command and turn the >> board back on using a power button. > > I'm co

Re: [PATCH] rockchip: rk356x: Enable poweroff command

2023-08-03 Thread Kever Yang
Hi Jonas, On 2023/8/4 03:54, Jonas Karlman wrote: With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is possible to power down a board using the poweroff command and turn the board back on using a power button. I'm confuse about the use case, when will people need to do this(other

Re: [PATCH] rockchip: rk356x: Enable poweroff command

2023-08-03 Thread Simon Glass
On Thu, 3 Aug 2023 at 13:54, Jonas Karlman wrote: > > With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is > possible to power down a board using the poweroff command and turn the > board back on using a power button. > > Enable the poweroff command on RK356x boards that have a button

[PATCH] rockchip: rk356x: Enable poweroff command

2023-08-03 Thread Jonas Karlman
With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is possible to power down a board using the poweroff command and turn the board back on using a power button. Enable the poweroff command on RK356x boards that have a button wired to PMIC pwron. Also update to use PMIC poweroff when PMI