linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] i2c:ocores: improvements
@ 2019-02-11  8:31 Federico Vaga
  2019-02-11  8:31 ` [PATCH v4 1/5] i2c:ocores: stop transfer on timeout Federico Vaga
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Federico Vaga @ 2019-02-11  8:31 UTC (permalink / raw)
  To: Peter Korsgaard, Andrew Lunn; +Cc: linux-i2c, linux-kernel

This patch set provides improvements to the i2c-ocore driver.

[V3 -> V4]
- add reviews-by/tested-by
- add comment to justify the formula in
    udelay((8 * 1000) / i2c->bus_clock_khz);

[V2 -> V3]
- fix particular error condition on platform_get_irq(). Copied from
  https://patchwork.ozlabs.org/patch/1038409/

[V1 -> V2]
- replaced usleep_range() with udelay() so that the polling version can be
  used in atomic context.
- added dedicated patch for minor style issues
- fixed delay computation
- use spin_lock_irqsave(), instead of spin_trylock_irqsave(). IACK is always
  necessary and a trylock would generate an extra interrupt for nothing
- make the driver ready for an eventual master_xfer_irqless()



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

end of thread, other threads:[~2019-02-11 15:54 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11  8:31 [PATCH v4 0/5] i2c:ocores: improvements Federico Vaga
2019-02-11  8:31 ` [PATCH v4 1/5] i2c:ocores: stop transfer on timeout Federico Vaga
2019-02-11 10:24   ` Wolfram Sang
2019-02-11 14:01     ` Andrew Lunn
2019-02-11 14:34       ` Federico Vaga
2019-02-11 14:53       ` Wolfram Sang
2019-02-11 10:44   ` Peter Rosin
2019-02-11 13:02     ` Federico Vaga
2019-02-11  8:31 ` [PATCH v4 2/5] i2c:ocores: do not handle IRQ if IF is not set Federico Vaga
2019-02-11 10:24   ` Wolfram Sang
2019-02-11  8:31 ` [PATCH v4 3/5] i2c:ocores: add polling interface Federico Vaga
2019-02-11 10:25   ` Wolfram Sang
2019-02-11 13:47     ` Federico Vaga
2019-02-11 10:43   ` Peter Rosin
2019-02-11 13:14     ` Federico Vaga
2019-02-11 13:35       ` Peter Rosin
2019-02-11 13:46         ` Federico Vaga
2019-02-11  8:31 ` [PATCH v4 4/5] i2c:ocores: add SPDX tag Federico Vaga
2019-02-11 10:25   ` Wolfram Sang
2019-02-11  8:31 ` [PATCH v4 5/5] i2c:ocores: checkpatch fixes Federico Vaga
2019-02-11 10:16   ` Peter Rosin
2019-02-11 10:26     ` Wolfram Sang
2019-02-11 10:28     ` Peter Rosin
2019-02-11 10:52   ` Peter Rosin

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).