Skip to content

Commit 2ad7b75

Browse files
lunndavem330
authored andcommitted
Doc: Micrel-ksz90x1.txt: Document deprecated MAC OF properties
Phy properties are expected to be found in the PHY OF node. However this Micrel driver also allows them to be placed into the MAC OF node. This is deprecated. Document it as such, and remove the example using the deprecated method to prevent people copying it into new device tree files. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fbc0885 commit 2ad7b75

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

Documentation/devicetree/bindings/net/micrel-ksz90x1.txt

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY
22

3-
Some boards require special tuning values, particularly when it comes to
4-
clock delays. You can specify clock delay values by adding
5-
micrel-specific properties to an Ethernet OF device node.
3+
Some boards require special tuning values, particularly when it comes
4+
to clock delays. You can specify clock delay values in the PHY OF
5+
device node. Deprecated, but still supported, these properties can
6+
also be added to an Ethernet OF device node.
67

78
Note that these settings are applied after any phy-specific fixup from
89
phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c),
@@ -57,16 +58,6 @@ KSZ9031:
5758

5859
Examples:
5960

60-
/* Attach to an Ethernet device with autodetected PHY */
61-
&enet {
62-
rxc-skew-ps = <3000>;
63-
rxdv-skew-ps = <0>;
64-
txc-skew-ps = <3000>;
65-
txen-skew-ps = <0>;
66-
status = "okay";
67-
};
68-
69-
/* Attach to an explicitly-specified PHY */
7061
mdio {
7162
phy0: ethernet-phy@0 {
7263
rxc-skew-ps = <3000>;

0 commit comments

Comments
 (0)