[PATCH 0/3] i2c: testunit: add rep_start test and rework versioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my way to let the testunit trigger SMBusAlert interrupts, I needed to
rework the way the testunit responds to read messages. This series is
the result of that with some very nice side effects. First, we now have
a new test to check for proper repeated starts between messages in a
transfer, patch 2. Also, the versioning has been improved, patch 3.
Patch 1 makes the state machine a little easiert to follow.

The patches are based on i2c/for-current + a naming fix[1] and has been
tested on a Renesas Lager board (R-Car H2) and a Renesas Falcon board
(R-Car V3U).

Looking forward to comments. Once we got this in, I will send out the
SMBusAlert additions. They do work already, they just need some
documentation.

Happy hacking!

[1] https://lore.kernel.org/r/20240806113532.32679-2-wsa+renesas@xxxxxxxxxxxxxxxxxxxx


Wolfram Sang (3):
  i2c: testunit: sort case blocks
  i2c: testunit: add command to support versioning and test rep_start
  i2c: testunit: return current command on read messages

 Documentation/i2c/slave-testunit-backend.rst | 50 ++++++++++++++++++--
 drivers/i2c/i2c-slave-testunit.c             | 43 ++++++++++++-----
 2 files changed, 77 insertions(+), 16 deletions(-)

-- 
2.43.0





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux