[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240830034640.7049-1-kfting@nuvoton.com>
Date: Fri, 30 Aug 2024 11:46:33 +0800
From: Tyrone Ting <warp5tw@...il.com>
To: avifishman70@...il.com,
tmaimon77@...il.com,
tali.perry1@...il.com,
venture@...gle.com,
yuenn@...gle.com,
benjaminfair@...gle.com,
andi.shyti@...nel.org,
andriy.shevchenko@...ux.intel.com,
wsa@...nel.org,
rand.sec96@...il.com,
wsa+renesas@...g-engineering.com,
warp5tw@...il.com,
tali.perry@...oton.com,
Avi.Fishman@...oton.com,
tomer.maimon@...oton.com,
KWLIU@...oton.com,
JJLIU0@...oton.com,
kfting@...oton.com
Cc: openbmc@...ts.ozlabs.org,
linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/7] i2c: npcm: Bug fixes read/write operation, checkpatch
This patchset includes the following fixes:
- Restore the npcm_i2caddr array length to fix the smatch warning.
- 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.
Addressed comments from:
- kernel test robot : https://lore.kernel.org/oe-kbuild-all/
202408080319.de2B6PgU-lkp@...el.com/
- Dan Carpenter : https://lore.kernel.org/all/202408130818
.FgDP5uNm-lkp@...el.com/
- Andrew Jeffery : https://lore.kernel.org/lkml/
20240807100244.16872-7-kfting@...oton.com/T/
#m3ed3351bf59675bfe0de89c75aae1fb26cad5567
Changes since version 1:
- Restore the npcm_i2caddr array length to fix the smatch warning.
- Remove unused variables.
- Handle the condition where scl_table_cnt reaches to the maximum value.
- Fix the checkpatch warning.
Charles Boyer (1):
i2c: npcm: Enable slave in eob interrupt
Tyrone Ting (6):
i2c: npcm: restore slave addresses array length
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
i2c: npcm: use i2c frequency table
drivers/i2c/busses/i2c-npcm7xx.c | 276 +++++++++++++++++++------------
1 file changed, 172 insertions(+), 104 deletions(-)
base-commit: 5be63fc19fcaa4c236b307420483578a56986a37
--
2.34.1
Powered by blists - more mailing lists