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

Heiko Schocher
2023-02-13T14:49:59Z

Hello Pei Yue Ho,

On 04.01.23 08:20, Pei Yue Ho wrote:
> 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 <peiyue.ho@starfivetech.com>
> Reviewed-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
> Reviewed-by: Eng Lee Teh <englee.teh@starfivetech.com>
> Reviewed-by: Heiko Schocher <hs@denx.de>
> ---
> drivers/i2c/i2c-cdns.c | 26 ++++++++++++++++----------
> 1 file changed, 16 insertions(+), 10 deletions(-)

Applied to u-boot-i2c.git master