[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c4ad88c5-42bd-9116-2934-135c49781ce8@gmail.com>
Date: Tue, 21 Dec 2021 18:56:36 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Peter Geis <pgwipeout@...il.com>, Lee Jones <lee.jones@...aro.org>
Cc: Robin Murphy <robin.murphy@....com>,
Heiko Stuebner <heiko@...ech.de>,
linux-rockchip@...ts.infradead.org,
Nicolas Frattaroli <frattaroli.nicolas@...il.com>,
Frank Wunderlich <frank-w@...lic-files.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] mfd: rk808: add reboot support to rk808.c
20.12.2021 20:06, Peter Geis пишет:
> This adds reboot support to the rk808 pmic driver and enables it for
> the rk809 and rk817 devices.
> This only enables if the rockchip,system-power-controller flag is set.
>
> Signed-off-by: Peter Geis <pgwipeout@...il.com>
> Signed-off-by: Frank Wunderlich <frank-w@...lic-files.de>
> Reviewed-by: Dmitry Osipenko <digetx@...il.com>
> ---
> This patch was created to address issues with psci-reset on rk356x
> chips. Until the rk356x series ATF open source code is released so we
> can fix the issue at the source, this is the only way to ensure reliable
> resetting on devices using these chips.
>
> After testing the rk808 (thanks Robin!), it was found DEV_OFF_RST does
> not reset the PMIC to a power on state. Since the rk805 and rk818 match
> this register layout, I'm removing support for all three in the v2.
> It may be possible to add support to them using an RTC wakeup, but that
> has not been explored and is outside the scope of this patch.
>
> Changelog:
> V4:
> - reorder rk808_restart_notify (Thanks Dmitry)
> - drop of_property_read_bool before unregister (Good catch Frank)
Might be better to resend it with v4 in the commit title, to avoid
confusion.
Powered by blists - more mailing lists