[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210914212105.76186-8-olek2@wp.pl>
Date: Tue, 14 Sep 2021 23:21:05 +0200
From: Aleksander Jan Bajkowski <olek2@...pl>
To: john@...ozen.org, tsbogend@...ha.franken.de, olek2@...pl,
maz@...nel.org, ralf@...ux-mips.org, ralph.hempel@...tiq.com,
davem@...emloft.net, kuba@...nel.org, robh+dt@...nel.org,
hauke@...ke-m.de, dev@...sin.me, arnd@...db.de, jgg@...pe.ca,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH net-next 8/8] dt-bindings: net: lantiq: Add the burst length properties
The new added properties are used for configuring burst length.
Signed-off-by: Aleksander Jan Bajkowski <olek2@...pl>
---
.../bindings/net/lantiq,etop-xway.yaml | 16 ++++++++++++++++
.../bindings/net/lantiq,xrx200-net.yaml | 16 ++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
index 4412abfb4987..437502c5ca96 100644
--- a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
+++ b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
@@ -29,6 +29,18 @@ properties:
- const: tx
- const: rx
+ lantiq,tx-burst-length:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ TX programmable burst length.
+ enum: [2, 4, 8]
+
+ lantiq,rx-burst-length:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ RX programmable burst length.
+ enum: [2, 4, 8]
+
phy-mode: true
required:
@@ -37,6 +49,8 @@ required:
- interrupt-parent
- interrupts
- interrupt-names
+ - lantiq,tx-burst-length
+ - lantiq,rx-burst-length
- phy-mode
additionalProperties: false
@@ -49,5 +63,7 @@ examples:
interrupt-parent = <&icu0>;
interrupts = <73>, <78>;
interrupt-names = "tx", "rx";
+ lantiq,tx-burst-length = <8>;
+ lantiq,rx-burst-length = <8>;
phy-mode = "rmii";
};
diff --git a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
index 7bc074a42369..16d831f22063 100644
--- a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
+++ b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml
@@ -29,6 +29,18 @@ properties:
- const: tx
- const: rx
+ lantiq,tx-burst-length:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ TX programmable burst length.
+ enum: [2, 4, 8]
+
+ lantiq,rx-burst-length:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ RX programmable burst length.
+ enum: [2, 4, 8]
+
'#address-cells':
const: 1
@@ -41,6 +53,8 @@ required:
- interrupt-parent
- interrupts
- interrupt-names
+ - lantiq,tx-burst-length
+ - lantiq,rx-burst-length
- "#address-cells"
- "#size-cells"
@@ -56,4 +70,6 @@ examples:
interrupt-parent = <&icu0>;
interrupts = <73>, <72>;
interrupt-names = "tx", "rx";
+ lantiq,tx-burst-length = <8>;
+ lantiq,rx-burst-length = <8>;
};
--
2.30.2
Powered by blists - more mailing lists