Yes, I think it makes sense to convert the driver first to useWolfram did some sturct to assign the parameters from device properties.+static int rk3x_i2c_v0_calc_divs(unsigned long clk_rate, unsigned long
scl_rate,
+ unsigned long scl_rise_ns,
+ unsigned long scl_fall_ns,
+ unsigned long sda_fall_ns,
It might be re-used here.
the new i2c_parse_fw_timings() function and see if it fits (or if we need
to extend it perhaps).
David, does this make sense to you?