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

WeiLiang Lim weiliang.lim at starfivetech.com
Thu Feb 2 06:59:12 CET 2023


Anyone can help review this patch please?

> -----Original Message-----
> From: PeiYue Ho <peiyue.ho at starfivetech.com>
> Sent: Wednesday, January 4, 2023 3:20 PM
> To: u-boot at lists.denx.de
> Cc: PeiYue Ho <peiyue.ho at starfivetech.com>; EngLee Teh
> <englee.teh at starfivetech.com>; WeiLiang Lim <weiliang.lim at 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



More information about the U-Boot mailing list