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

Pei Yue Ho peiyue.ho at starfivetech.com
Wed Jan 4 08:20:03 CET 2023


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                    | 26 ++++++++++++++---------
 2 files changed, 20 insertions(+), 10 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list