]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree
authorPei Yue Ho <peiyue.ho@starfivetech.com>
Mon, 13 Feb 2023 08:02:41 +0000 (00:02 -0800)
committerHeiko Schocher <hs@denx.de>
Mon, 13 Feb 2023 08:58:27 +0000 (09:58 +0100)
commit0b1e0da30ad89f112ac85abb22bd1f17f58836e6
treefd3918bfb7edf9bb6d6c750756e6b506ab42b5f7
parent1366c5f0cba8bac83fa5f523029087868c625823
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>
drivers/i2c/i2c-cdns.c