i2c: stm32f7: switch to I²C generic property parsing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Mar 2020 12:32:14 +0000 (14:32 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 24 Mar 2020 20:59:58 +0000 (21:59 +0100)
commit83672db7d6c6510ceba9b2ac2d3999a609bb72f7
treeae1231e6a1ab52bbbb5732371f2a82d8e8a97e61
parent38a592e26612a6a87e1aa1de5d6f97007bc4934c
i2c: stm32f7: switch to I²C generic property parsing

Switch to the new generic functions: i2c_parse_fw_timings().

While here, replace hard coded values with standard bus frequency definitions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alain Volmat <alain.volmat@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32f7.c