[PATCH v5 0/2] i2c: octeon: Add block-mode r/w

From: Aryan Srivastava
Date: Sun Jun 09 2024 - 23:00:24 EST


Add support for block mode read/write operations on
Thunderx chips.

-Refactor common code for i2c transactions.
-Add block mode transaction functionality.

Signed-off-by: Aryan Srivastava <aryan.srivastava@xxxxxxxxxxxxxxxxxxx>
---
Changes in v2:
- comment style and formatting.

Changes in v3:
- comment style and formatting.

Changes in v4:
- Refactoring common code.
- Additional comments.

Changes in v5:
- Further refactoring.
- Split refactoring into separate patch in series.
- Add more comments + details to comments.

Aryan Srivastava (2):
i2c: octeon: refactor hlc r/w operations
i2c: octeon: Add block-mode r/w operations

drivers/i2c/busses/i2c-octeon-core.c | 232 ++++++++++++++++++-----
drivers/i2c/busses/i2c-octeon-core.h | 14 ++
drivers/i2c/busses/i2c-thunderx-pcidrv.c | 4 +
3 files changed, 207 insertions(+), 43 deletions(-)

--
2.43.2