[PATCH 1/2] dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth

Pei Yue Ho
2023-01-04T13:10:31Z

Add description for fifo-depth parameter that can be used
in the device tree.

Signed-off-by: Pei Yue Ho <peiyue.ho@starfivetech.com>
Reviewed-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
Reviewed-by: Eng Lee Teh <englee.teh@starfivetech.com>
---
doc/device-tree-bindings/i2c/i2c-cdns.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/doc/device-tree-bindings/i2c/i2c-cdns.txt b/doc/device-tree-bindings/i2c/i2c-cdns.txt
index 202e0b7626..eaff34a555 100644
--- a/doc/device-tree-bindings/i2c/i2c-cdns.txt
+++ b/doc/device-tree-bindings/i2c/i2c-cdns.txt
@@ -9,6 +9,9 @@ Required properties:
- interrupt-parent : Must be core interrupt controller
- clocks : Clock phandles (see clock bindings for details).

+Optional properties:
+- fifo-depth : To specify the FIFO depth of the controller.
+
Example:
i2c0: i2c@e0004000 {
compatible = "cdns,i2c-r1p10";
@@ -16,5 +19,6 @@ Example:
clocks = <&clkc 38>;
interrupts = <0 25 4>;
interrupt-parent = <&intc>;
+ fifo-depth = <32>;
status = "disabled";
};
--
2.25.1