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

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

[V4 -> V5]
- deterministic status of IEN bit in register "CONTROL" at the end of
  ocores_init()
- more style fixes

[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] 9+ messages in thread

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 16:05 [PATCH v5 0/5] i2c:ocores: improvements Federico Vaga
2019-02-11 16:05 ` [PATCH v5 1/5] i2c:ocores: stop transfer on timeout Federico Vaga
2019-02-11 16:05 ` [PATCH v5 2/5] i2c:ocores: do not handle IRQ if IF is not set Federico Vaga
2019-02-11 16:05 ` [PATCH v5 3/5] i2c:ocores: add polling interface Federico Vaga
2019-02-11 16:05 ` [PATCH v5 4/5] i2c:ocores: add SPDX tag Federico Vaga
2019-02-11 16:05 ` [PATCH v5 5/5] i2c:ocores: checkpatch fixes Federico Vaga
2019-02-11 16:12   ` Peter Rosin
2019-02-11 16:18     ` Federico Vaga
2019-02-11 16:19     ` Wolfram Sang

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