Thread (10 messages) 10 messages, 3 authors, 2022-01-12

Re: [PATCH devicetree 2/2] dt-bindings: phy: Add `tx-amplitude-microvolt` property binding

From: Rob Herring <robh@kernel.org>
Date: 2021-12-15 22:01:07
Also in: linux-devicetree, netdev

On Wed, Dec 15, 2021 at 06:22:22PM +0100, Marek Behún wrote:
On Wed, 15 Dec 2021 11:55:00 +0100
Andrew Lunn [off-list ref] wrote:
quoted
On Wed, Dec 15, 2021 at 12:34:32AM +0100, Marek Behún wrote:
quoted
Common PHYs often have the possibility to specify peak-to-peak voltage
on the differential pair - the default voltage sometimes needs to be
changed for a particular board.  
Hi Marek

Common PHYs are not the only user of this. Ethernet PHYs can also use
it, as well as SERDESes embedded within Ethernet switches.

That is why i suggested these properties go into something like
serdes.yaml. That can then be included into Common PHY, Ethernet PHYs,
switch drivers etc.

Please could you make such a split?

       Andrew
Hi Andrew,

and where (into which directory) should this serdes.yaml file go?

My idea was to put the properties into common PHY and then refer to
them from other places, so for example this would be put into ethernet
PHY binding:

  serdes-tx-amplitude-microvolt:
Why do you need a different name here? 
    $ref: '/schemas/phy/phy.yaml#/properties/tx-amplitude-microvolt'
This is a pattern I try to avoid generally. Put what's common in 1 
schema file and then reference all of it from the top level.

Rob

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help