Skip to content
Commit f536fda9 authored by Pei Yue Ho's avatar Pei Yue Ho Committed by Heiko Schocher
Browse files

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: default avatarPei Yue Ho <peiyue.ho@starfivetech.com>
Reviewed-by: default avatarWei Liang Lim <weiliang.lim@starfivetech.com>
Reviewed-by: default avatarEng Lee Teh <englee.teh@starfivetech.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 8511a7fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment