mirror of
https://xff.cz/git/u-boot/
synced 2025-11-02 03:17:29 +01:00
i2c: designware_i2c: Add spike supression
Some versions of this peripheral include a spike-suppression phase of the bus. Add support for this. 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
e71b6f6622
commit
96fe11c3da
@@ -62,6 +62,8 @@ static int designware_i2c_pci_ofdata_to_platdata(struct udevice *dev)
|
||||
if (IS_ENABLED(CONFIG_INTEL_BAYTRAIL))
|
||||
/* Use BayTrail specific timing values */
|
||||
priv->scl_sda_cfg = &byt_config;
|
||||
if (dev_get_driver_data(dev) == INTEL_APL)
|
||||
priv->has_spk_cnt = true;
|
||||
|
||||
return designware_i2c_ofdata_to_platdata(dev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user