mbox series

[v1,0/7] i2c: npcm: Bug fixes read/write operation, checkpatch

Message ID 20240807100244.16872-1-kfting@nuvoton.com
Headers show
Series i2c: npcm: Bug fixes read/write operation, checkpatch | expand

Message

Tyrone Ting Aug. 7, 2024, 10:02 a.m. UTC
From: Tyrone Ting <kfting@nuvoton.com>

This patchset includes the following fixes:

- Enable the target functionality in the interrupt handling routine when the
  i2c transfer is about to finish.
- Correct the read/write operation procedure.
- Introduce a software flag to handle the bus error (BER) condition
  which is not caused by the i2c transfer.
- Modify timeout calculation.
- Assign the client address earlier logically.
- Use an i2c frequency table for the frequency parameters assignment.
- Coding style fix.

The NPCM I2C driver is tested on NPCM750 and NPCM845 evaluation boards.

Charles Boyer (1):
  i2c-npcm7xx.c: Enable slave in eob interrupt

Tyrone Ting (6):
  i2c: npcm: correct the read/write operation procedure
  i2c: npcm: use a software flag to indicate a BER condition
  i2c: npcm: Modify timeout evaluation mechanism
  i2c: npcm: Modify the client address assignment
  drivers: i2c: use i2c frequency table
  i2c: npcm: fix checkpatch

 drivers/i2c/busses/i2c-npcm7xx.c | 266 +++++++++++++++++++------------
 1 file changed, 167 insertions(+), 99 deletions(-)