]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
serial: samsung: dt-bindings: Add reg-io-width compatible
authorHyunki Koo <hyunki00.koo@samsung.com>
Wed, 6 May 2020 08:02:39 +0000 (17:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2020 12:37:33 +0000 (14:37 +0200)
Add a description for reg-io-width options for the samsung serial
UART peripheral.

Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200506080242.18623-2-hyunki00.koo@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/samsung_uart.yaml

index 9d2ce347875b46ef59f0b00a4a597b406e037b3c..a57b1233c691cd1a236272c24292df76189b1fea 100644 (file)
@@ -29,6 +29,14 @@ properties:
   reg:
     maxItems: 1
 
+  reg-io-width:
+    description: |
+      The size (in bytes) of the IO accesses that should be performed
+      on the device.
+    allOf:
+      - $ref: /schemas/types.yaml#/definitions/uint32
+      - enum: [ 1, 4 ]
+
   clocks:
     minItems: 2
     maxItems: 5