Re: [PATCH 19/24] rtc: pm8xxx: add support for uefi offset
From: Johan Hovold
Date: Thu Jan 26 2023 - 09:28:01 EST
On Thu, Jan 26, 2023 at 03:20:52PM +0100, Johan Hovold wrote:
> On many Qualcomm platforms the PMIC RTC control and time registers are
> read-only so that the RTC time can not be updated. Instead an offset
> needs be stored in some machine-specific non-volatile memory, which the
> driver can take into account.
>
> Add support for storing a 32-bit offset from the GPS time epoch in a
> UEFI variable so that the RTC time can be set on such platforms.
>
> The UEFI variable is
>
> 882f8c2b-9646-435f-8de5-f208ff80c1bd-RTCInfo
>
> and holds a 12-byte structure where the first four bytes is a GPS time
> offset in little-endian byte order.
>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
The Subject of this one was supposed to say "RFC" as it, like the
previous patch, is not intended to be merged just yet.
Johan