Is it possible to extend a linux driver to support software triggers over their existing hardware interrupt ?
Hi all,
I am currently attempting to extended support to the lsm6ds linux driver(https://github.com/raspberrypi/linux/tree/rpi-5.10.y/drivers/iio/imu/st_lsm6dsx) which supports the ISM330DHCX. It currently supports interrupt based buffering. I'd like to use a software driven trigger to control buffering of this device? Is this possible?
The source seems fairly generic in terms of buffer setup, however when viewing /sys/bus/iio/device/iio\:device1 the trigger folder is not found, but scan_elements and buffer are. If someone could educate me briefly on what I have missed Id be greatly appreciative.
Kind regards.
