[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5ACbROrTXTe=7jEXyCJ7tpHNjhPKZqRWnz-RQJNz4MrwQ@mail.gmail.com>
Date: Thu, 18 Jan 2024 12:10:02 -0300
From: Fabio Estevam <festevam@...il.com>
To: Josua Mayer <josua@...id-run.com>
Cc: Russell King <linux@...linux.org.uk>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>, NXP Linux Team <linux-imx@....com>,
Yazan Shhady <yazan.shhady@...id-run.com>, Jon Nettleton <jon@...id-run.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: imx6qdl-hummingboard: Add rtc0 and rtc1 aliases
to fix hctosys
On Thu, Jan 18, 2024 at 12:01 PM Josua Mayer <josua@...id-run.com> wrote:
>
> HummingBoard has two RTCs, first integrated within SoC that can be used to
> wake up from sleep - and a second on the carrier board including back-up
> battery which is intended for keeping time during power-off.
>
> Add aliases for both, ensuring that the battery-backed clock is primary
> rtc and used by default during boot for restoring system time.
>
> Fixes keeping time across power-cycle observed on Debian,
> which sets RTC_HCTOSYS_DEVICE="rtc0".
>
> Signed-off-by: Josua Mayer <josua@...id-run.com>
Reviewed-by: Fabio Estevam <festevam@...il.com>
Powered by blists - more mailing lists