Re: [PATCH 1/6] dt-bindings: clock: r9a06g032-sysctrl: Document reset cells
From: Ralph Siemsen
Date: Mon Nov 23 2026 - 10:54:53 EST
On Sat, Nov 21, 2026 at 4:24 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Thinking about it some more, perhaps instead of using 0 as the special case
> > for "no parent", we could set .source to match .index. In other words a
> > clock pointing to itself means "no parent". Worth changing?
>
> What would be the gain? As you said before we can't update the values
> because they are already in DTBs.
It could remove some potential confusion about whether 0 is allowed.
And perhaps more importantly, it would make consistent the .index and
.source fields. Having one of them shifted by 1 can be confusing, and
could lead to bugs.
Ralph