Thread (45 messages) 45 messages, 6 authors, 2025-03-08

Re: [PATCH 2/3] dt-bindings: net: Document GBETH bindings for Renesas RZ/V2H(P) SoC

flat view

From: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Date: 2025-03-02 22:03:46
Also in: linux-devicetree, linux-renesas-soc, lkml

On Sun, Mar 2, 2025 at 9:51 PM Russell King (Oracle)
[off-list ref] wrote:
On Sun, Mar 02, 2025 at 09:49:55PM +0000, Russell King (Oracle) wrote:
quoted
On Sun, Mar 02, 2025 at 09:43:47PM +0000, Lad, Prabhakar wrote:
quoted
On Sun, Mar 2, 2025 at 9:39 PM Andrew Lunn [off-list ref] wrote:
quoted
quoted
quoted
Your SoC designer really implemented the 0° and 180° as two separate
independently controllable clocks?
Yes there are separate bits to turn ON/OFF the 0° and 180° clocks.
Do you know what the clock tree actually looks like? I can think of
two different ways this could be implemented:

----+----------on/off---
    |
    +----not---on/off---

or

-------on/off-+------------------
              |
              +---not---on/off---

In the first, the clocks are siblings. In the second there is
parent/child relationship.
It's the first case in this SoC.
Umm, okay. I'll just pick my jaw up off the floor. :D

Given that, then yes, go with your existing clock binding, because
that's the most sensible.

However, what would be useful for future maintenance is to put some
commentry at the top of the new glue file describing this (pictorially)
so that when someone looks at this later we know why it is this way.
It'll be useful information if someone else does the same because then
we can say "hey, we already have a binding for this situation!"
Additionally, it would probably be useful to include it in the dt
binding commit description because that will probably assist the
review of that patch.
Sure will do that.

Cheers,
Prabhakar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help