[PATCH v12 0/3] i2c: octeon: add block-mode r/w
From: Aryan Srivastava
Date: Mon Mar 10 2025 - 22:34:59 EST
Add support for block mode read/write operations on
Thunderx chips.
-Refactor common code for i2c transactions (merged in v11).
-Correct function docs.
-Remove 10-bit addressing considerations.
-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
Changes in v11:
- Rebased patch against i2c-host
Changes in v12:
- Added fixes for function docs
- Removed considerations for 10-bit addressing
- Transition to using appropriate byte-swap operations, instead of custom code
- Refactor commit removed from this set, merged in:
https://lore.kernel.org/linux-i2c/seom4yspcjnmdxxwn6wuyiqdy2ywpna6nw4rn36tsqinlncbca@jdehzfnznlsg/
Aryan Srivastava (3):
i2c: octeon: fix return commenting
i2c: octeon: remove 10-bit addressing support
i2c: octeon: add block-mode i2c operations
drivers/i2c/busses/i2c-octeon-core.c | 195 +++++++++++++++++++----
drivers/i2c/busses/i2c-octeon-core.h | 13 +-
drivers/i2c/busses/i2c-thunderx-pcidrv.c | 3 +
3 files changed, 179 insertions(+), 32 deletions(-)
--
2.47.1