Re: [PATCH v2 1/3] dt-bindings: rtc: pcf8523: add DSM pm option for battery switch-over

From: Alexandre Belloni
Date: Mon Jul 27 2020 - 12:16:45 EST


On 27/07/2020 17:55:50+0200, Jon Nettleton wrote:
> > So, can we please have that discussion, it is pertinent to this patch.
> >
>
> Thinking about this some more, I believe whether or not an IOCTL
> interface is in the works or needed is irrelevant. This patch
> describes the hardware and how it is designed and the topic of
> discussion is if we need a simple boolean state, or if we need
> something that could be used to support dynamic configuration in the
> future. I would rather make this decision now rather than keep
> tacking on boolean config options, or revisit a bunch of device-tree
> changes.

Something that would describe the hardware is a property telling whether
the filter is present on VDD, not a property selecting DSM. The driver
can then chose to avoid standard mode when needed.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com