From: Patrick DELAUNAY Date: Tue, 24 Mar 2020 08:53:13 +0000 Subject: [PATCH] i2c: stm32f7_i2c: allows for any bus frequency In-Reply-To: <20200306100914.9022-1-patrick.delaunay@st.com> References: <20200306100914.9022-1-patrick.delaunay@st.com> Message-ID: <4b468349acb342c8b2a30dbfe89cea0e@SFHDAG6NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi > From: Patrick DELAUNAY > Sent: vendredi 6 mars 2020 11:09 > > From: Alain Volmat > > Do not limit to 3 (100KHz, 400KHz, 1MHz) bus frequencies, but instead allow for > any frequency. Depending on the requested frequency (via the clock-frequency > DT entry), use the spec data from either Standard, Fast or Fast Plus mode. > > In order to do so, the driver do not use anymore spec identifier by directly handle > the requested frequency and from it retrieve the corresponding spec data to be > used for the computation of the timing register. > > Signed-off-by: Alain Volmat > Reviewed-by: Patrick DELAUNAY > Signed-off-by: Patrick Delaunay > --- Applied to u-boot-stm/next, thanks! Regards Patrick