[PATCH] i2c: stm32f7_i2c: allows for any bus frequency
Patrick DELAUNAY
patrick.delaunay at st.com
Tue Mar 24 09:53:13 CET 2020
Hi
> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 6 mars 2020 11:09
>
> From: Alain Volmat <alain.volmat at st.com>
>
> 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 <alain.volmat at st.com>
> Reviewed-by: Patrick DELAUNAY <patrick.delaunay at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
Applied to u-boot-stm/next, thanks!
Regards
Patrick
More information about the U-Boot
mailing list