public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* mt7621 i2c fails with upstream driver
@ 2022-01-05  9:51 Kristian Evensen
  2022-01-05 11:45 ` Kristian Evensen
  2022-01-06 13:23 ` Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: Kristian Evensen @ 2022-01-05  9:51 UTC (permalink / raw)
  To: linux-i2c

Hello,

I am in the process of bringing kernel 5.10 up on an mt7621-based
board. The board is equipped with a temperature sensor that is
connected to the i2c bus. Reading the temperature worked fine with my
previous kernel (OpenWRT 4.14/downstream i2c driver), but fails when I
use the upstream driver.

With the 5.10 i2c-mt7621-driver, i2cdetect is no longer able to detect
the sensor and i2cget fails with "Error: Read failed". An strace of
i2cget reveals the cause to be the final ioctl call failing with
ETIMEDOUT.

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?

Thanks in advance for any help,
Kristian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-06 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-05  9:51 mt7621 i2c fails with upstream driver Kristian Evensen
2022-01-05 11:45 ` Kristian Evensen
2022-01-06 13:23 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox