[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] [PATCH 0/3] aspeed/i2c: fix receive done interrupt model

From: Cédric Le Goater
Subject: [Qemu-arm] [PATCH 0/3] aspeed/i2c: fix receive done interrupt model
Date: Fri, 14 Sep 2018 08:35:03 +0200


The interrupt model of the Aspeed I2C controller does handle correctly
the RX_DONE bit. As indicated in the AST2500 datasheet, the RX_DONE
bit needs to be cleared to allow mode data to be received. This series
fixes the behavior and delays the data reception until the bit has
been cleared.

Revealed by :

  [PATCH i2c-next v6] i2c: aspeed: Handle master/slave combined irq events

which fixes irq handling in Linux at high bus frequencies.



Cédric Le Goater (1):
  aspeed/i2c: interrupts should be cleared by software only

Guenter Roeck (2):
  aspeed/i2c: Handle receive command in separate function
  aspeed/i2c: Fix receive done interrupt handling

 hw/i2c/aspeed_i2c.c | 68 +++++++++++++++++++++++++++++++--------------
 1 file changed, 47 insertions(+), 21 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]