commit | f536fda99fa2c1c88f68d8da54ed6233cec3532e | [log] [tgz] |
---|---|---|
author | Pei Yue Ho <peiyue.ho@starfivetech.com> | Mon Feb 13 00:02:41 2023 -0800 |
committer | Heiko Schocher <hs@denx.de> | Mon Feb 13 09:58:27 2023 +0100 |
tree | fd3918bfb7edf9bb6d6c750756e6b506ab42b5f7 | |
parent | 8511a7fc85ac1d1e3aea44d0e97fab26ace10ab2 [diff] |
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. 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>