Re: [PATCH v4 2/9] dt-bindings: rtc: mediatek: convert MT6397 rtc documentation

Alexandre Belloni
2022-11-15T08:05:53Z

On 15/11/2022 08:56:40+0100, Krzysztof Kozlowski wrote:
> On 14/11/2022 23:57, Alexandre Belloni wrote:
>
> >>>> As this is only a compatible string, just fold this into the MFD schema
> >>>> doc.
> >>>
> >>> Actually, it probably also supports the start-year property
> >>
> >
> > I checked and it doesn't support it but this needs to be fixed.
> >
> >> What about rest of rtc.yaml schema?
> >>
> >
> > wakeup-source would make sense but the driver doesn't support it yet.
>
> The question is about hardware - does hardware support waking up the
> system via interrupt? This is usually a domain of PMICs which still are
> powered on when system sleeps.
>

I'd say that it is possible that a PMIC is able to wake up the system
with or without having an interrupt wired to the SoC so wakeup-source
makes sense. We don't need it if it is interrupt only.

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering