Re: [PATCH] rtc: rv3028: configure backup switch mode from device tree
From: Alexandre Belloni
Date: Wed Aug 26 2026 - 02:57:53 EST
On 26/08/2026 06:37:48+0000, Dhaval Shiroya wrote:
> Hi Alexandre,
>
> >On 22/08/2026 14:59:11+0530, Dhaval Shiroya wrote:
> >> Enable and set the backup switch mode directly from the device tree at
> >> probe, instead of requiring a userspace RTC_PARAM_BACKUP_SWITCH_MODE
> >> ioctl on every unit.
> >>
> >
> >No, just use the ioctl.
>
> Thanks for the reply.
>
> Instead, can we enable the FEDE bit, as the datasheet recommends enabling it when switching to RTC Backup Switchover Mode?
>
> Could you please share your thoughts on this?
It is never disabled and so it is always enabled unless someone disabled
it on purpose.
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com