diff options
author | Simon Glass <sjg@chromium.org> | 2020-01-23 11:48:11 -0700 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-01-27 07:21:05 +0100 |
commit | 80a03db4f3bfac8220d0445c33aee24c5a3c13b1 (patch) | |
tree | b18ea1de3a654c683fe59aec4b000a97f0d9369f /drivers/i2c/designware_i2c_pci.c | |
parent | 9bb743d9c76b5aa98bc29e54aeefea1204a31c15 (diff) |
i2c: designware_i2c: Read device-tree properties
The i2c controller defines a few timing properties. Read these in and
store them for use by the driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/designware_i2c_pci.c')
-rw-r--r-- | drivers/i2c/designware_i2c_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c index 7f0625df66..2b974a07c3 100644 --- a/drivers/i2c/designware_i2c_pci.c +++ b/drivers/i2c/designware_i2c_pci.c @@ -63,7 +63,7 @@ static int designware_i2c_pci_ofdata_to_platdata(struct udevice *dev) /* Use BayTrail specific timing values */ priv->scl_sda_cfg = &byt_config; - return 0; + return designware_i2c_ofdata_to_platdata(dev); } static int designware_i2c_pci_probe(struct udevice *dev) |