i2c: stm32f7: add SMBus-Alert support
authorAlain Volmat <alain.volmat@foss.st.com>
Wed, 5 May 2021 13:14:39 +0000 (15:14 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 25 May 2021 19:48:19 +0000 (21:48 +0200)
commitc8062d11e20c218b310145bc918e116423fb1e83
tree8e4264273b123c55e9f83bc10707e34178d59720
parent168290fb26757d3f9732a466c59a5c45a01974f9
i2c: stm32f7: add SMBus-Alert support

Add support for the SMBus-Alert protocol to the STM32F7 that has
dedicated control and status logic.

If SMBus-Alert is used, the SMBALERT# pin must be configured as alternate
function for I2C Alert.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c