[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y66uDhAnKlcYM2tX@hovoldconsulting.com>
Date: Fri, 30 Dec 2022 10:23:26 +0100
From: Johan Hovold <johan@...nel.org>
To: Abel Vesa <abel.vesa@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-x13s: Add RTC support
On Fri, Dec 30, 2022 at 11:20:11AM +0200, Abel Vesa wrote:
> On 22-12-30 10:08:33, Johan Hovold wrote:
> > 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@...aro.org>
> >
> > 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.
>
> Sure thing. Consider this dropped then.
>
> Please CC me when you have something so I can try it out.
Sure, I will. Since it depends on UEFI support it may take a while to
get everything merged in mainline, but we should have working
out-of-tree support shortly.
Johan
Powered by blists - more mailing lists