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.