linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Mediatek I2C fixup
@ 2015-08-06  7:22 Eddie Huang
  2015-08-06  7:22 ` [PATCH v2 1/2] i2c: mediatek: Reset DMA engine in hardware init function Eddie Huang
  2015-08-06  7:22 ` [PATCH v2 2/2] i2c: mediatek: Fixup i2c ack error interrupt handling Eddie Huang
  0 siblings, 2 replies; 10+ messages in thread
From: Eddie Huang @ 2015-08-06  7:22 UTC (permalink / raw)
  To: linux-arm-kernel

This series provide two patches to optimize mediatek i2c driver.
The first patch will reset dma hardware in init function to make sure
hardware work in good state. The second patch fix i2c interrupt handling
for ACK error. All these patches base on 4.2-rc1.

Change in v2:
Fix multi-transfer fail bug - in mtk_i2c_irq(), call complete()
if get I2C_RS_TRANSFER interrupt

Eddie Huang (2):
  i2c: mediatek: Reset DMA engine in hardware init function
  i2c: mediatek: Fixup i2c ack error interrupt handling

 drivers/i2c/busses/i2c-mt65xx.c |   21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v2 0/2] Mediatek I2C Fixup
@ 2015-11-09  5:43 Liguo Zhang
  0 siblings, 0 replies; 10+ messages in thread
From: Liguo Zhang @ 2015-11-09  5:43 UTC (permalink / raw)
  To: linux-arm-kernel

This series contain two patches, first is to optimize Mediatek I2C driver to use WRRD
if hardware support auto restart. Because auto restart will issue auto restart
interrupt, change to use WRRD can reduce interrupt latency. The second is to fix
multi transfer error in high speed mode. If hardware support auto restart, need driver
to send master code first.

Change in v2:
fix i2c checkpatch error.

Liguo Zhang (2):
  i2c: mediatek: add i2c first write then read optimization
  i2c: mediatek: fix i2c multi transfer issue in high speed mode

 drivers/i2c/busses/i2c-mt65xx.c | 78 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 72 insertions(+), 6 deletions(-)

--
1.8.1.1.dirty

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-09  5:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06  7:22 [PATCH v2 0/2] Mediatek I2C fixup Eddie Huang
2015-08-06  7:22 ` [PATCH v2 1/2] i2c: mediatek: Reset DMA engine in hardware init function Eddie Huang
2015-08-11  8:32   ` Daniel Kurtz
2015-08-11 14:55   ` Wolfram Sang
2015-08-06  7:22 ` [PATCH v2 2/2] i2c: mediatek: Fixup i2c ack error interrupt handling Eddie Huang
2015-08-11  8:32   ` Daniel Kurtz
2015-08-11 14:55   ` Wolfram Sang
2015-08-12  1:32     ` Daniel Kurtz
2015-08-12  1:40       ` Wolfram Sang
  -- strict thread matches above, loose matches on Subject: below --
2015-11-09  5:43 [PATCH v2 0/2] Mediatek I2C Fixup Liguo Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).