dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth
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>
Reviewed-by: Heiko Schocher <hs@denx.de>
diff --git a/doc/device-tree-bindings/i2c/i2c-cdns.txt b/doc/device-tree-bindings/i2c/i2c-cdns.txt
index 202e0b7..eaff34a 100644
--- a/doc/device-tree-bindings/i2c/i2c-cdns.txt
+++ b/doc/device-tree-bindings/i2c/i2c-cdns.txt
@@ -9,6 +9,9 @@
- 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 @@
clocks = <&clkc 38>;
interrupts = <0 25 4>;
interrupt-parent = <&intc>;
+ fifo-depth = <32>;
status = "disabled";
};