In the mma8452.c driver code provided in linux they have mentioned one note i.e.
/* * Although we enable the interrupt sources once and for * all here the event detection itself is not enabled until * userspace asks for it by mma8452_write_event_config() */
I am trying to interface mma8653 with imx8-mini I could not able to understand how I would get interrupt on INT1 or INT2 pin by using this driver code. Is anyone could provide some details or any documentation