i2c: stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 6 Jul 2020 11:31:35 +0000 (13:31 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 9 Jul 2020 04:02:45 +0000 (06:02 +0200)
commit7ce87dcff4e87b2d067f911beee23ad221f3b467
tree76cd34eadb927cf6af180e21121f55671e37ef15
parentfb3388cd85c43e6b262d7ea3c897bed42ac3dff8
i2c: stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7

Read SYSCFG bindings to set Fast Mode Plus bits if Fast Mode Plus
speed is selected.

Handle the stm32mp15 specific compatible to handle FastMode+
registers handling which is different on the stm32mp15 compared
to the stm32f7 or stm32h7.
Indeed, on the stm32mp15, the FastMode+ set and clear registers
are separated while on the other platforms (F7 or H7) the control
is done in a unique register.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/stm32f7_i2c.c