[PATCH 1/2] mfd: rk808: add reboot support to rk808 pmic
Peter Geis
pgwipeout at gmail.com
Wed Dec 15 15:52:36 PST 2021
On Wed, Dec 15, 2021 at 6:07 PM Nicolas Frattaroli
<frattaroli.nicolas at gmail.com> wrote:
>
> On Mittwoch, 15. Dezember 2021 22:32:59 CET Frank Wunderlich wrote:
> > From: Peter Geis <pgwipeout at gmail.com>
> >
> > This adds reboot support to the rk808 pmic. This only enables if the
> > rockchip,system-power-controller flag is set.
> >
> > Signed-off-by: Peter Geis <pgwipeout at gmail.com>
> > ---
> > drivers/mfd/rk808.c | 48 +++++++++++++++++++++++++++++++++++++++
> > include/linux/mfd/rk808.h | 2 ++
> > 2 files changed, 50 insertions(+)
> >
>
> Tested-by: Nicolas Frattaroli <frattaroli.nicolas at gmail.com>
>
> Tested with a RK817, using a Quartz64 Model A with the patch applied
> on top of v5.16-rc5. Poweroff works, reboot works.
>
>
As a note, this has come up due to rk356x having unreliable psci reboot.
Until we have mainline atf sources so we can fix the problem this is
the only way to reliably reset these devices.
More information about the Linux-rockchip
mailing list