Re: [PATCH v2 1/5] dt-bindings: rtc: add bindings for i.MX53 SRTC

From: Fabio Estevam
Date: Mon Dec 11 2017 - 18:08:09 EST


Hi Patrick,

On Mon, Dec 11, 2017 at 5:08 AM, Patrick BrÃnn <P.Bruenn@xxxxxxxxxxxx> wrote:

>>rtc@...
>>
> The rtc for which this series adds support is embedded within a function block called
> "Secure Real Time Clock". This driver doesn't utilize all of the hardware features by
> now. But maybe someone else wants to extend the functionalities, later.
> For that possibility I wanted to name the node "srtc". Should I still change this?
>
> I believe you have a much better understanding of what should be done here. I don't
> want to argue with you, just thought you might not had that information. So if I am
> wrong just tell me and I will change it without further "complaining".

>From the Devicetree Specification document:

"Generic Names Recommendation

The name of a node should be somewhat generic, reflecting the function
of the device and not its precise program-
ming model. If appropriate, the name should be one of the following choices:
...
rtc
"

So better use 'rtc' as suggested by Rob.