summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2023-03-17 17:54:39 +0300
committerWolfram Sang <wsa@kernel.org>2023-03-29 22:16:50 +0300
commit6ff0ddb3051e33372a22b1fac11ee74315f9d12e (patch)
treec7cc2f8d330df359decdc89b6cc531d44056df63 /Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
parent0cc98416709210e93e0ae154b336f954df298b6c (diff)
downloadlinux-6ff0ddb3051e33372a22b1fac11ee74315f9d12e.tar.xz
dt-bindings: i2c: cadence: Document `fifo-depth` property
The depth of the FIFO of the Cadence I2C controller IP is a synthesis configuration parameter. Different instances of the IP can have different values. For correct operation software needs to be aware of the size of the FIFO. Add the documentation for the devicetree property that describes the FIFO depth of the IP core. The default value of 16 is for backwards compatibility reasons with existing hardware descriptions where this property is not specified and software has assumed that the FIFO depth is 16. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml')
-rw-r--r--Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
index 2e95cda7262a..2401d1e19916 100644
--- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
+++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
@@ -38,6 +38,13 @@ properties:
description: |
Input clock name.
+ fifo-depth:
+ description:
+ Size of the data FIFO in bytes.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ default: 16
+ enum: [2, 4, 8, 16, 32, 64, 128, 256]
+
required:
- compatible
- reg
@@ -57,4 +64,5 @@ examples:
clock-frequency = <400000>;
#address-cells = <1>;
#size-cells = <0>;
+ fifo-depth = <8>;
};