On 5/14/2018 11:22 AM, Marco Felsch wrote:

From: Markus Niebel <markus.nie...@tqs.de>

handle errata #2 for KSZ9031: force 1000Base-T master

Attention: enabling the workaround will cause no link to
other GIGE master.

Signed-off-by: Markus Niebel <markus.nie...@tqs.de>
[m.fel...@pengutronix.de: move dt binding to the KSZ9031 entry]
Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
---
  .../devicetree/bindings/net/micrel-ksz90x1.txt |  3 +++
  drivers/net/phy/micrel.c                       | 18 ++++++++++++++++++
  2 files changed, 21 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt 
b/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt
index 42a248301615..e2465fbbbcef 100644
--- a/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt
+++ b/Documentation/devicetree/bindings/net/micrel-ksz90x1.txt
@@ -57,6 +57,9 @@ KSZ9031:
        - txd2-skew-ps : Skew control of TX data 2 pad
        - txd3-skew-ps : Skew control of TX data 3 pad
+ - force-master: Boolean, force phy to master mode. This is a

   Not "micrel,force-master"?

+                    workaround at least for KSZ9031 errata #2.
+
  Examples:
mdio {
[...]

MBR, Sergei

Reply via email to