aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>2022-08-26 17:35:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-30 13:26:48 +0200
commit8ed030de05b35ec48c24b5a26df79d05a6d244d2 (patch)
tree2ce51f3f768f7c518d58510f5147187cf1bc3658
parenttty: xilinx_uartps: Check the clk_enable return value (diff)
downloadlinux-dev-8ed030de05b35ec48c24b5a26df79d05a6d244d2.tar.xz
linux-dev-8ed030de05b35ec48c24b5a26df79d05a6d244d2.zip
dt-bindings: serial: pl011: Add a reg-io-width parameter
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>
-rw-r--r--Documentation/devicetree/bindings/serial/pl011.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index d8aed84abcd3..80af72859876 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -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