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