nuttx/arch/risc-v
Ville Juven 01cc1687b3 mpfs/mpfs_i2c.c: Replace 1 second timeout with Time-on-Air based timeout
Calculate how long an I2C transation will take in microseconds, and use
this as the timeout for mpfs_i2c_sem_waitdone.

The reason for doing this is not to keep an i2c bus reserved for the full
1 second timeout, if e.g. a sensor is not on the bus / is faulty and
non-responsive. Reading the other sensors will be blocked for a relatively
long time (1 second) in this case. This fixes such behavior.
2023-08-28 21:16:23 +08:00
..
include arch/risc-v: Add support for StarFive JH7110 SoC 2023-08-03 22:55:55 -07:00
src mpfs/mpfs_i2c.c: Replace 1 second timeout with Time-on-Air based timeout 2023-08-28 21:16:23 +08:00
Kconfig risc-v/litex: Add system reset and access to core control registers. 2023-08-25 17:16:28 +08:00