Re: mt7621 i2c fails with upstream driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adding maintainers for this driver/platform to CC...

On Wed, Jan 05, 2022 at 10:51:38AM +0100, Kristian Evensen wrote:
> 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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux