All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/5] i2c: ocores: improvements
@ 2019-02-11 16:49 ` Federico Vaga
  0 siblings, 0 replies; 18+ messages in thread
From: Federico Vaga @ 2019-02-11 16:49 UTC (permalink / raw)
  To: Peter Korsgaard, Andrew Lunn; +Cc: Peter Rosin, linux-i2c, linux-kernel

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

[V5 -> V6]
- remove redundant code introduced in V5 (double read control register)

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

end of thread, other threads:[~2019-02-14  8:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-11 16:49 [PATCH v6 0/5] i2c: ocores: improvements Federico Vaga
2019-02-11 16:49 ` Federico Vaga
2019-02-11 16:49 ` [PATCH v6 1/5] i2c: ocores: stop transfer on timeout Federico Vaga
2019-02-11 16:49   ` Federico Vaga
2019-02-11 16:49 ` [PATCH v6 2/5] i2c: ocores: do not handle IRQ if IF is not set Federico Vaga
2019-02-11 16:49   ` Federico Vaga
2019-02-11 16:49 ` [PATCH v6 3/5] i2c: ocores: add polling interface Federico Vaga
2019-02-11 16:49   ` Federico Vaga
2019-02-11 16:49 ` [PATCH v6 4/5] i2c: ocores: add SPDX tag Federico Vaga
2019-02-11 16:49   ` Federico Vaga
2019-02-11 16:54   ` Wolfram Sang
2019-02-12  8:10     ` Federico Vaga
2019-02-12  8:10       ` Federico Vaga
2019-02-11 16:49 ` [PATCH v6 5/5] i2c: ocores: checkpatch fixes Federico Vaga
2019-02-11 16:49   ` Federico Vaga
2019-02-14  3:07 ` [PATCH v6 0/5] i2c: ocores: improvements Andrew Lunn
2019-02-14  8:39   ` Federico Vaga
2019-02-14  8:39     ` Federico Vaga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.