f9c1daa212c5783129423b5b03bf79ba315ac5ac
[oweals/openwrt.git] / target / linux / bcm27xx / patches-4.19 / 950-0194-dt-bindings-Document-microchip-downshift-after.patch
1 From 1654bdce95bd9a99e237b75fdcc0081b232c46b5 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 28 Nov 2018 15:51:41 +0000
4 Subject: [PATCH] dt-bindings: Document microchip,downshift-after
5
6 Document the optional downshift-after property of the lan78xx's PHY.
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
9 ---
10  Documentation/devicetree/bindings/net/microchip,lan78xx.txt | 3 +++
11  1 file changed, 3 insertions(+)
12
13 --- a/Documentation/devicetree/bindings/net/microchip,lan78xx.txt
14 +++ b/Documentation/devicetree/bindings/net/microchip,lan78xx.txt
15 @@ -15,6 +15,9 @@ Optional properties of the embedded PHY:
16  - microchip,led-modes: a 0..4 element vector, with each element configuring
17    the operating mode of an LED. Omitted LEDs are turned off. Allowed values
18    are defined in "include/dt-bindings/net/microchip-lan78xx.h".
19 +- microchip,downshift-after: sets the number of failed auto-negotiation
20 +  attempts after which the link is downgraded from 1000BASE-T. Should be one of
21 +  2, 3, 4, 5 or 0, where 0 means never downshift.
22  
23  Example:
24