]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: accel: bma220: add i2c watchdog feature
authorPetre Rodan <petre.rodan@subdimension.ro>
Sun, 5 Oct 2025 13:12:24 +0000 (16:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:20 +0000 (11:59 +0100)
commit3499375209ca839a741e775d579f8bb9b85529d5
treec69464d6f23a79555752be279c472ef489aee4fd
parent7a23e6d922efc77e783084c4f3b2859c2a0bc7f3
iio: accel: bma220: add i2c watchdog feature

Sometimes the sensor gets stuck and enters a condition in which it pulls
SDA low, thus making the entire i2c bus unusable.
This problem is mitigated by activating a 1ms watchdog implemented in
the sensor.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma220_core.c