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

WeiLiang Lim
2023-02-02T13:37:10Z

Anyone can help review this patch please?

> -----Original Message-----
> From: PeiYue Ho <peiyue.ho@starfivetech.com>
> Sent: Wednesday, January 4, 2023 3:20 PM
> To: u-boot@lists.denx.de
> Cc: PeiYue Ho <peiyue.ho@starfivetech.com>; EngLee Teh
> <englee.teh@starfivetech.com>; WeiLiang Lim <weiliang.lim@starfivetech.com>
> Subject: [PATCH 0/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from
> device tree
>
> 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