Re: [PATCH] arm64: dts: qcom: sc8280xp-x13s: Add RTC support

From: Johan Hovold
Date: Fri Dec 30 2022 - 04:08:40 EST


Hi Abel,

On Fri, Dec 30, 2022 at 10:50:10AM +0200, Abel Vesa wrote:
> The PMK8350 PMIC has an available RTC block. Describe it in
> sc8280xp-pmics dtsi and enable it in Lenovo Thinkpad X13s specific dts.
> Mark it as wakeup-source to allow waking the system from sleep.
>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxx>

I'm currently working on proper RTC support which implies reading and
storing the time offset from EFI.

This patch in itself is pretty much useless as the returned time is just
some random time from the epoch (e.g. in the 1970's).

So I suggest waiting another week or so until I'm done.

Johan