diff mbox series

[net-next,1/2] dt: ar803x: document SmartEEE properties

Message ID E1l008O-0004tG-MA@rmk-PC.armlinux.org.uk
State New
Headers show
Series Add further DT configuration for AT803x PHYs | expand

Commit Message

Russell King (Oracle) Jan. 14, 2021, 10:45 a.m. UTC
The SmartEEE feature of Atheros AR803x PHYs can cause the link to
bounce. Add DT properties to allow SmartEEE to be disabled, and to
allow the Tw parameters for 100M and 1G links to be configured.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 .../devicetree/bindings/net/qca,ar803x.yaml      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Rob Herring Jan. 15, 2021, 5:27 p.m. UTC | #1
On Thu, 14 Jan 2021 10:45:44 +0000, Russell King wrote:
> The SmartEEE feature of Atheros AR803x PHYs can cause the link to
> bounce. Add DT properties to allow SmartEEE to be disabled, and to
> allow the Tw parameters for 100M and 1G links to be configured.
> 
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
> ---
>  .../devicetree/bindings/net/qca,ar803x.yaml      | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/qca,ar803x.yaml b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
index 64b3357ade8a..b3d4013b7ca6 100644
--- a/Documentation/devicetree/bindings/net/qca,ar803x.yaml
+++ b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
@@ -28,6 +28,10 @@  description: |
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [0, 1, 2]
 
+  qca,disable-smarteee:
+    description: Disable Atheros SmartEEE feature.
+    type: boolean
+
   qca,keep-pll-enabled:
     description: |
       If set, keep the PLL enabled even if there is no link. Useful if you
@@ -36,6 +40,18 @@  description: |
       Only supported on the AR8031.
     type: boolean
 
+  qca,smarteee-tw-us-100m:
+    description: EEE Tw parameter for 100M links.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 1
+    maximum: 255
+
+  qca,smarteee-tw-us-1g:
+    description: EEE Tw parameter for gigabit links.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 1
+    maximum: 255
+
   vddio-supply:
     description: |
       RGMII I/O voltage regulator (see regulator/regulator.yaml).