[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 Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux