]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: serial: pl011: Add a reg-io-width parameter
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Fri, 26 Aug 2022 12:05:58 +0000 (17:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 11:26:48 +0000 (13:26 +0200)
Some of the implementations support only 32-bit accesses.
Add a parameter reg-io-width for such platforms.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Link: https://lore.kernel.org/r/20220826120559.2122-2-shubhrajyoti.datta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/pl011.yaml

index d8aed84abcd32f4cd7a0d4c17f530e39af091448..80af728598764a006e82a0523815ea88fc2b225a 100644 (file)
@@ -94,6 +94,12 @@ properties:
   resets:
     maxItems: 1
 
+  reg-io-width:
+    description:
+      The size (in bytes) of the IO accesses that should be performed
+      on the device.
+    enum: [1, 4]
+
 required:
   - compatible
   - reg