]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: accel: adxl345: introduce interrupt handling
authorLothar Rubusch <l.rubusch@gmail.com>
Sat, 28 Dec 2024 23:29:46 +0000 (23:29 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 4 Jan 2025 12:54:18 +0000 (12:54 +0000)
commite2e6d241486eec2688c9224c583570d5c746ad15
tree0a2443e3a2f74c1794de1800f52a3eb0d6e45b02
parent82e1cedeb8186cc019bad83d6bf06a9c475d7b13
iio: accel: adxl345: introduce interrupt handling

Add the possibility to claim an interrupt. Init the state structure
with an interrupt line obtained from the DT. The adxl345 can use
two different interrupt lines for event handling. Only one is used.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Link: https://patch.msgid.link/20241228232949.72487-2-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl345_core.c