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

Alain Volmat alain.volmat at st.com
Mon Aug 3 01:17:54 EDT 2020


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(-)

-- 
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




More information about the linux-arm-kernel mailing list