[PATCH v2 0/4] stm32-f7: Addition of SMBus Alert / Host-notify features

From: Alain Volmat
Date: Thu Jun 25 2020 - 03:40:17 EST


This serie adds SMBus Alert and SMBus Host-Notify features for the i2c-stm32f7.

This serie v2 rework comments from the 1st serie and replace the very generic
reg_client / unreg_client callback with HOST_NOTIFY only reg_hnotify_cli
and unreg_hnotify_cli callbacks.

Alain Volmat (4):
i2c: smbus: add core function handling SMBus host-notify
i2c: addition of client hnotify reg/unreg callbacks
dt-bindings: i2c-stm32: add SMBus Alert bindings
i2c: stm32f7: Add SMBus-specific protocols support

.../devicetree/bindings/i2c/st,stm32-i2c.yaml | 4 +
drivers/i2c/busses/Kconfig | 1 +
drivers/i2c/busses/i2c-stm32f7.c | 194 +++++++++++++++++++--
drivers/i2c/i2c-core-base.c | 18 +-
drivers/i2c/i2c-core-smbus.c | 110 ++++++++++++
include/linux/i2c-smbus.h | 2 +
include/linux/i2c.h | 8 +
7 files changed, 325 insertions(+), 12 deletions(-)