]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ce07cfdaa569e63844adc62f16402881d32c4f4
tree8e4264273b123c55e9f83bc10707e34178d59720
parent0bbdff10663f6afad8849c9d0e720186ba170d4d
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