+ rx-internal-delay-ps:
+ description:
+ RGMII RX clock delay in picoseconds. The PHY supports 150 ps steps
+ from 0 to 2250 ps. If not specified, defaults to 1950 ps. If the
+ requested value does not exactly match a supported step, the driver
+ selects the nearest supported value and issues a warning.
+ enum: [0, 150, 300, 450, 600, 750, 900, 1050, 1200, 1350, 1500,
+ 1650, 1800, 1950, 2100, 2250]
+ default: 1950
The cover letter says you round to the nearest, but here you list
specific values.
Please remove the rounding and return EINVAL for the value is not one
of the listed values.
Andrew
+examples:
+ - |
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ rx-internal-delay-ps = <1050>;
+ tx-internal-delay-ps = <1150>;
Using values which probably don't work is maybe not a good idea. There
are too many DT developers who just cut/paste and don't think.
These are optional, so don't even bother? Or 2100 which probably does
actually work.
Andrew