Commit e12ffd24 authored by Mikko Koivunen's avatar Mikko Koivunen Committed by Jonathan Cameron

iio: light: rpr0521 triggered buffer

Set up and use triggered buffer if there is irq defined for device in
device tree. Trigger producer triggers from rpr0521 drdy interrupt line.
Trigger consumer reads rpr0521 data to scan buffer.
Depends on previous commits of _scale and _offset.
Signed-off-by: default avatarMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent aab498ba
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment