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

Pei Yue Ho peiyue.ho at starfivetech.com
Mon Feb 13 09:02:40 CET 2023


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

Signed-off-by: Pei Yue Ho <peiyue.ho at starfivetech.com>
Reviewed-by: Wei Liang Lim <weiliang.lim at starfivetech.com>
Reviewed-by: Eng Lee Teh <englee.teh at 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 at 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



More information about the U-Boot mailing list