From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick DELAUNAY Date: Wed, 8 Jul 2020 17:41:22 +0000 Subject: [PATCH] i2c: stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7 In-Reply-To: <8a1ecf55-a3df-eb9e-a5b2-f87d8b0c2a16@denx.de> References: <20200706133132.1.Ib000bc59b2ad7201352c5a0a55ec6072221e1808@changeid> <8a1ecf55-a3df-eb9e-a5b2-f87d8b0c2a16@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko > From: Heiko Schocher > Sent: mardi 7 juillet 2020 07:21 > > Hello Patrick, > > Am 06.07.2020 um 13:31 schrieb Patrick Delaunay: > > 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 > > --- > > > > drivers/i2c/stm32f7_i2c.c | 74 > ++++++++++++++++++++++++++++++++++++++- > > 1 file changed, 73 insertions(+), 1 deletion(-) > > Just tried to apply your patch on current mainline, but this fails for me, reason is > missing patch: > > http://patchwork.ozlabs.org/project/uboot/patch/20200706112653.18951-2- > patrick.delaunay at st.com/ > > So I add this patch also to my repo, if nobody has objections. No objection for me (as u-boot stm32 custodians / shared with Patrice Chotard), You can take the in tiny patch in your repo. I delegate the serie to Patrice only to have a review before merge this serie in stm32 tree. But he is in holiday... and I wait him for my next pull request (including this serie). > Beside of this: > > Reviewed-by: Heiko Schocher Thanks. > Thanks! > > bye, > Heiko Regards, Patrick > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de