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

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


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.

Pei Yue Ho (2):
  dt-bindings: i2c: i2c-cdns.txt: Add description for an optional
    parameter, fifo-depth
  i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

 doc/device-tree-bindings/i2c/i2c-cdns.txt |  4 +++
 drivers/i2c/i2c-cdns.c                    | 30 ++++++++++++++---------
 2 files changed, 22 insertions(+), 12 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list