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
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.
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
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
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
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
6 matches
Mail list logo