diff options
author | Eddie James | 2022-05-11 15:52:03 -0500 |
---|---|---|
committer | Heiko Schocher | 2022-07-19 13:46:28 +0200 |
commit | 6ac25538d870685707e7cdebba771c79ada77e80 (patch) | |
tree | 1594660bdb45799099e85463a498b6f6122dd198 /drivers/i2c | |
parent | 26f6f7fb5c0651d65afdee6d8ed36063606179a8 (diff) |
i2c: ast_i2c: Remove SCL direct drive mode
SCL direct drive mode prevents communication with devices that
do clock stretching, so disable. The Linux driver doesn't use
this mode, and the engine can handle clock stretching.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: ryan_chen <ryan_chen@aspeedtech.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/ast_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index c9ffe2d6282..1c1d5566dad 100644 --- a/drivers/i2c/ast_i2c.c +++ b/drivers/i2c/ast_i2c.c @@ -77,7 +77,7 @@ static void ast_i2c_init_bus(struct udevice *dev) /* Enable Master Mode. Assuming single-master */ writel(I2CD_MASTER_EN | I2CD_M_SDA_LOCK_EN - | I2CD_MULTI_MASTER_DIS | I2CD_M_SCL_DRIVE_EN, + | I2CD_MULTI_MASTER_DIS, &priv->regs->fcr); /* Enable Interrupts */ writel(I2CD_INTR_TX_ACK |