[PATCH v2 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Pei Yue Ho
Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- drivers/i2c/i2c-cdns.c | 30

[PATCH v2 0/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-02-13 Thread Pei Yue Ho
V2: Added 'i2c_bus' parameter to function 'cdns_is_hold_quirk' to fix compilation issue Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver.

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

2023-02-13 Thread Pei Yue Ho
Add description for fifo-depth parameter that can be used in the device tree. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- doc/device-tree-bindings/i2c/i2c-cdns.txt | 4 1 file changed, 4 insertions(+) diff --git a/doc/device-tree-bindings/i2c/i2c

[PATCH 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-01-04 Thread Pei Yue Ho
Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- drivers/i2c/i2c-cdns.c | 26

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

2023-01-04 Thread Pei Yue Ho
Add description for fifo-depth parameter that can be used in the device tree. Signed-off-by: Pei Yue Ho Reviewed-by: Wei Liang Lim Reviewed-by: Eng Lee Teh --- doc/device-tree-bindings/i2c/i2c-cdns.txt | 4 1 file changed, 4 insertions(+) diff --git a/doc/device-tree-bindings/i2c/i2c

[PATCH 0/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

2023-01-04 Thread Pei Yue Ho
Enable driver to fetch the optional parameter (fifo-depth) from device tree. If the parameter is not found in the device tree, it will use the default value declared in the driver. Pei Yue Ho (2): dt-bindings: i2c: i2c-cdns.txt: Add description for an optional parameter, fifo-depth i2c