diff mbox series

[v2,1/4] dt-bindings: serial: add RX and TX FIFO properties

Message ID 20210413174015.23011-2-erwan.leray@foss.st.com
State New
Headers show
Series [v2,1/4] dt-bindings: serial: add RX and TX FIFO properties | expand

Commit Message

Erwan LE RAY April 13, 2021, 5:40 p.m. UTC
Add two optional DT properties to configure RX and TX FIFO thresholds:
- rx-threshold
- tx-threshold

Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

Comments

Rob Herring April 15, 2021, 9:12 p.m. UTC | #1
On Tue, 13 Apr 2021 19:40:12 +0200, Erwan Le Ray wrote:
> Add two optional DT properties to configure RX and TX FIFO thresholds:

> - rx-threshold

> - tx-threshold

> 

> Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>

> 


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

Patch

diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index 65e75d040521..f368d58e8086 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -75,6 +75,16 @@  properties:
     type: boolean
     description: CTS and RTS pins are swapped.
 
+  rx-threshold:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      RX FIFO threshold configuration (in bytes).
+
+  tx-threshold:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      TX FIFO threshold configuration (in bytes).
+
 if:
   required:
     - uart-has-rtscts