• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision6ac25538d870685707e7cdebba771c79ada77e80 (tree)
Zeit2022-07-19 20:46:28
AutorEddie James <eajames@linu...>
CommiterHeiko Schocher

Log Message

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>

Ändern Zusammenfassung

Diff

--- 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)
7777 /* Enable Master Mode. Assuming single-master */
7878 writel(I2CD_MASTER_EN
7979 | I2CD_M_SDA_LOCK_EN
80- | I2CD_MULTI_MASTER_DIS | I2CD_M_SCL_DRIVE_EN,
80+ | I2CD_MULTI_MASTER_DIS,
8181 &priv->regs->fcr);
8282 /* Enable Interrupts */
8383 writel(I2CD_INTR_TX_ACK