mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
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>
This commit is contained in:
parent
0cc9841670
commit
6ff0ddb305
|
|
@ -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>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user