]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit93eeaceb0075ff8b313eae0229e65466422b7722
tree76cd34eadb927cf6af180e21121f55671e37ef15
parentacb744c9fee88e4b7f5daedbcdaa64856f58e310
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