Skip to content

i2c: at91: Fixes and updates

Codrin Ciubotariu linux-arm-kernel linux-i2c lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 4 repliesIn review
  2. v1 posting 1/23 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: at91: move i2c_recover_bus() outside of at91_do_twi_transfer()drivers/i2c/busses/i2c-at91-master.c+11 -80 replies
2/3i2c: at91: keep the controller disabled when it is not useddrivers/i2c/busses/i2c-at91-master.c+32 -20 replies
3/3i2c: at91: add advanced digital filtering support for SAMA5D4drivers/i2c/busses/i2c-at91-core.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND 0/3] i2c: at91: Fixes and updates

Resend due to the fact that the i2c list no longer accepts replys on the old patch-set. Comments not addressed yet.

The first patch is mostly a prerequisite for the second one. It only moves the i2c_recover_bus() out of the actual transfer function. This helps the second patch disable the controller before using GPIO recovery. The second patch will keep the controller enabled when a transfer occurs. Before using GPIO recovery, the controller must be disabled, to ignore potential glitches. However, the controller must be enabled for HW recovery (bus CLEAR command). The third and last patch adds advanced digital filtering support for SAMA5D4. The TWI IP found in SAMA5D4 supports advanced digital filtering, even if, at the moment of this patch, the SAMA5D4 datasheet does not mention it.

Codrin Ciubotariu (3):
i2c: at91: move i2c_recover_bus() outside of at91_do_twi_transfer()
i2c: at91: keep the controller disabled when it is not used
i2c: at91: add advanced digital filtering support for SAMA5D4

 drivers/i2c/busses/i2c-at91-core.c   |  1 +
 drivers/i2c/busses/i2c-at91-master.c | 53 ++++++++++++++++++++++------
 2 files changed, 44 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1