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

From: Aryan Srivastava
Date: Wed Oct 09 2024 - 22:54:05 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.

Changes in v6:
- Reword/reformat commit messages

Changes in v7:
- Fix typo in commit message.
- Remove usage of r/w and hlc abbreviations from commits.

Changes in v8:
- Updated refactor commit msg with more information.
- Rebased patch

Changes in v9:
- Rebased patch against i2c-host

Changes in v10:
- Fixed unitialised variable

Aryan Srivastava (2):
i2c: octeon: refactor common i2c operations
i2c: octeon: Add block-mode i2c operations

drivers/i2c/busses/i2c-octeon-core.c | 241 +++++++++++++++++++----
drivers/i2c/busses/i2c-octeon-core.h | 13 +-
drivers/i2c/busses/i2c-thunderx-pcidrv.c | 3 +
3 files changed, 213 insertions(+), 44 deletions(-)

--
2.46.0