diff options
| author | Alain Volmat <[email protected]> | 2020-03-06 11:09:14 +0100 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2020-03-24 14:23:32 +0100 |
| commit | c32446557627699cd17c93d1077b9d0466a81589 (patch) | |
| tree | 0ba8515f1ea11a8b658d7b1cad2da9fe7c75c844 /include/linux | |
| parent | 9368bdfebde16368cdb642adbb12f9c871c94d63 (diff) | |
i2c: stm32f7_i2c: allows for any bus frequency
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 <[email protected]>
Reviewed-by: Patrick DELAUNAY <[email protected]>
Signed-off-by: Patrick Delaunay <[email protected]>
Acked-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
