I have an IIO device, lis2dw12 and I can read its raw value via sysfs calls. cat /sys/bus/../in_accel_x.raw etc.. for all the channels.
I want to enable interrupts now but I do not have sysfs attribute for it. How can one able to set a specific register of a IIO device vai user space sysfs calls. Note I am able to set any register vai IIO_REG and debugfs but that is not intended for writing code. Also I do not have SPIDEV enabled.
How to read/configure a register of IIO device vai SYSFS or any other way.