[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211215182222.620606a0@thinkpad>
Date: Wed, 15 Dec 2021 18:22:22 +0100
From: Marek BehĂșn <kabel@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
Vladimir Oltean <olteanv@...il.com>,
Holger Brunck <holger.brunck@...achienergy.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Russell King <rmk+kernel@...linux.org.uk>,
linux-phy@...ts.infradead.org, Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...com>
Subject: Re: [PATCH devicetree 2/2] dt-bindings: phy: Add
`tx-amplitude-microvolt` property binding
On Wed, 15 Dec 2021 11:55:00 +0100
Andrew Lunn <andrew@...n.ch> wrote:
> On Wed, Dec 15, 2021 at 12:34:32AM +0100, Marek BehĂșn wrote:
> > 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:
$ref: '/schemas/phy/phy.yaml#/properties/tx-amplitude-microvolt'
Marek
Powered by blists - more mailing lists