diff mbox series

[v3,1/2] dt-bindings: serial: pl011: Add a reg-io-width parameter

Message ID 20220822130333.5353-2-shubhrajyoti.datta@amd.com
State Accepted
Commit 8ed030de05b35ec48c24b5a26df79d05a6d244d2
Headers show
Series [v3,1/2] dt-bindings: serial: pl011: Add a reg-io-width parameter | expand

Commit Message

Shubhrajyoti Datta Aug. 22, 2022, 1:03 p.m. UTC
From: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>

Some of the implementations support only 32-bit accesses.
Add a parameter reg-io-width for such platforms.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
---
v3:
patch addition

 Documentation/devicetree/bindings/serial/pl011.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index d8aed84abcd3..c8a4cbb178fe 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -94,6 +94,13 @@  properties:
   resets:
     maxItems: 1
 
+  reg-io-width:
+    description: |
+      The size (in bytes) of the IO accesses that should be performed
+      on the device.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [1, 4]
+
 required:
   - compatible
   - reg