Skip to content

i2c: stm32: add host-notify support via i2c slave

Alain Volmat linux-arm-kernel linux-i2c lkml 3 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2i2c: smbus: add core function handling SMBus host-notifydrivers/i2c/i2c-smbus.c include/linux/i2c-smbus.h+119 -02 replies
2/2i2c: stm32f7: Add SMBus Host-Notify protocol supportdrivers/i2c/busses/Kconfig drivers/i2c/busses/i2c-stm32f7.c+96 -152 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPierre-Yves MORDRET
1/2R-b
2/2R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] i2c: stm32: add host-notify support via i2c slave

This serie replaces the previous 'stm32-f7: Addition of SMBus Alert / Host-notify features' serie to only focus on the SMBus Host-Notify feature. It should be applied with "[PATCH] i2c: add binding to mark a bus as SMBus" from Wolfram which defines the newly introduced "smbus" binding.

Alain Volmat (2):
i2c: smbus: add core function handling SMBus host-notify
i2c: stm32f7: Add SMBus Host-Notify protocol support

 drivers/i2c/busses/Kconfig       |   1 +
 drivers/i2c/busses/i2c-stm32f7.c | 110 +++++++++++++++++++++++++++++++++------
 drivers/i2c/i2c-smbus.c          | 107 +++++++++++++++++++++++++++++++++++++
 include/linux/i2c-smbus.h        |  12 +++++
 4 files changed, 215 insertions(+), 15 deletions(-)
Signature · 6 lines
v3: move smbus host-notify slave code into i2c-smbus.c file
    rework slave callback index handling
    add sanity check in slave free function

v2: fix a bad test within the i2c-stm32f7 driver leading to decrease of
    available slave slot