Re: [net-next,PATCH] dt-bindings: net: realtek,rtl82xx: Document known PHY IDs as compatible strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 24, 2024 at 01:52:49AM +0200, Marek Vasut wrote:
> On 6/23/24 10:00 PM, Andrew Lunn wrote:
> > >     - $ref: ethernet-phy.yaml#
> > >   properties:
> > > +  compatible:
> > > +    enum:
> > > +      - ethernet-phy-id0000.8201
> > 
> > I'm not sure that one should be listed. It is not an official ID,
> > since it does not have an OUI. In fact, this is one of the rare cases
> > where actually listing a compatible in DT makes sense, because you can
> > override the broken hardware and give a correct ID in realtek address
> > space.
> 
> Hmmm, so, shall I drop this ID or keep it ?
> 
> I generally put the PHY IDs into DT so the PHY drivers can correctly handle
> clock and reset sequencing for those PHYs, before the PHY ID registers can
> be read out of the PHY.

Are there any in kernel .dts files using it? We could add it, if it is
needed to keep the DT validation tools are happy. But we should also
be deprecating this compatible, replacing it with one allocated from
realteks range.

	 Andrew




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux