Hi ,
We are currently working on MMA8451 module for our imx6 based custom board with Linux OS.The driver which is available in the default Kernel is currently in polling mode. how to convert the driver to interrupt based mode in the driver Please help as i am not able to find any method to convert the driver into interrupt based.
The driver file which i am using is in the following path /drivers/hwmon/mxc_mma8451.c .
Thank you,
Deepanraj.A
Hi Deepanraj
please look at example of such driver in
Device Drivers (9)
MMA845x Sensor Full Feature Linux Driver for Smart Devices (Rev1)(REV 1.0 )
https://www.nxp.com/products/sensors/motion-sensors/gyroscopes/nxp-sensor-drivers-for-android-linux-...
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
i have configured the interrupt in Kernel.But i am not able to get any interrupt from the accelerometer.