i2c: testunit: add command to support versioning and test rep_start
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 11 Aug 2024 21:23:15 +0000 (23:23 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 14 Aug 2024 17:55:40 +0000 (19:55 +0200)
commit6b21470af096e7f3acc4f0521354c5b044e2372c
treed48cca6eae5227891de4a1350f3e9b2965205aef
parentfaf3c102c67a9d6b205e924d756769972ecce03f
i2c: testunit: add command to support versioning and test rep_start

For some devices, it is essential that controllers handle repeated start
correctly and do not replace it with a stop/start combination. This
addition helps to test that because it will only return a version string
if repeated start is done properly.

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