[PATCH v3 0/2] i2c: stm32: add host-notify support via i2c slave
From: Alain Volmat
Date: Mon Aug 03 2020 - 01:45:22 EST
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