i2c: i2c-stm32f7: Add initial SMBus protocols support
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Wed, 11 Apr 2018 13:24:55 +0000 (15:24 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Apr 2018 08:39:27 +0000 (10:39 +0200)
commit9e48155f6bfe3d3896c8596f56cc2f76d344db3a
tree0d50c80a22278090d17d7816531e2050cafa3f85
parent60d609f30de27b14a17eb46365f8ef83fd7af024
i2c: i2c-stm32f7: Add initial SMBus protocols support

This patch adds SMBus support for I2C controller embedded in STM32F7 Soc.
All SMBus protocols are implemented except SMBus-specific protocols like
SMBus Host Notification and SMBus Alert protocols.

Implemented: SMBus Quick command, Send byte, Receive byte, Write byte/word,
read byte/word, Process call, Block write/read and Block write-block read
process call.

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32f7.c