Hi again, On Wed, Jan 5, 2022 at 10:51 AM Kristian Evensen <kristian.evensen@xxxxxxxxx> wrote: > Replacing the new with the old driver makes i2c work again, but I > would like to try to avoid that. My knowledge of i2c is very limited, > so I wondered if anyone knows what could be wrong or have any > suggestions on things I can try to for example change in the driver? I spent some more time instrumenting the driver. The call that always times out is the call to mtk_i2c_master_start() made from mtk_i2c_master_xfer(). From what I can tell, this is the first time data is written and when I compared with the previous driver, I do not find equivalents of master_{start,stop,cmd} writes, I only see direct calls to iowrite/ioread. Kristian