mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Heiko Schocher
parent
9bb743d9c7
commit
80a03db4f3
@@ -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)
|
||||
|
Reference in New Issue
Block a user