i2c: testunit: add support for block process calls
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 9 Feb 2021 11:19:27 +0000 (12:19 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 12 Feb 2021 10:11:04 +0000 (11:11 +0100)
commitb39ab96aa894e3f4a9a1cdfc070bd8ebefaeb9d8
tree942a3cc9d30798c64b161ed7ef2a9f29ca0d2613
parentbb3fe9ff5306d058af952f689f22448af286def8
i2c: testunit: add support for block process calls

Devices offering SMBus block process calls are rare, so add it to the
testunit. This is also a good test case for testing proper
I2C_M_RECV_LEN flag handling of I2C bus masters emulating SMBus.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/i2c/slave-testunit-backend.rst
drivers/i2c/i2c-slave-testunit.c