All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/5] i2c: ocores: improvements
@ 2019-02-14  8:51 ` Federico Vaga
  0 siblings, 0 replies; 13+ messages in thread
From: Federico Vaga @ 2019-02-14  8:51 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.

[V6 -> V7]
- restore accidentally removed 'reviewed-by' tags in changelog

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

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

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

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.