Skip to content

Rework block read support among i2cget and i2cdump

Jean Delvare linux-i2c 1 version In review

Get series with b4
b4 am 20210608172338.0cf520a1@endymion

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7i2cget: Add support for I2C block datatools/i2cget.c+55 -102 replies
2/7i2cget: Document the support of I2C block readstools/i2cget.8+15 -50 replies
3/7i2cget: Add support for SMBus block readtools/i2cget.8 tools/i2cget.c+19 -50 replies
4/7i2cdump: Remove dead codetools/i2cdump.c+0 -30 replies
5/7i2cdump: Add range support with mode i (I2C block)tools/i2cdump.8 tools/i2cdump.c+8 -80 replies
6/7i2cdump: Deprecate SMBus block modetools/i2cdump.8 tools/i2cdump.c+7 -100 replies
7/7i2cdump: Remove support for SMBus block modetools/i2cdump.8 tools/i2cdump.c+20 -680 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWolfram Sang
SeriesR-b T-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Rework block read support among i2cget and i2cdump

Hi all,

This is my attempt to improve the block read support in i2c-tools, specifically i2cget and i2cdump. The base of this series is the submission by Crestez Dan Leonard 5 years ago. Sorry for the delay ;-)

First we add support of both I2C and SMBus block read to i2cget:

[PATCH 1/7] i2cget: Add support for I2C block data [PATCH 2/7] i2cget: Document the support of I2C block reads [PATCH 3/7] i2cget: Add support for SMBus block read

Then we add support for range selection in I2C block mode to i2cdump:

[PATCH 4/7] i2cdump: Remove dead code
[PATCH 5/7] i2cdump: Add range support with mode i (I2C block)

Lastly we deprecate and eventually remove support for SMBus block mode from i2cdump:

[PATCH 6/7] i2cdump: Deprecate SMBus block mode [PATCH 7/7] i2cdump: Remove support for SMBus block mode

The idea would be to get the first 6 patches in the upcoming i2c-tools v4.3, and apply the 7th patch "later" (either immediately after that release, or some time later, I'm not sure).

Signature · 2 lines
Jean Delvare
SUSE L3 Support