Hi Ravi,
First off, sorry for such a late reply.
Have you tried the MMA8x5x driver that can be downloaded from https://www.nxp.com/products/sensors/motion-sensors/gyroscopes/nxp-sensor-drivers-for-android-linux-...?
If so, which conflicts have you seen and what EVK and BSP are you actually using? There are many different versions that can be found from web including some which have been developed by our customers.
As far as I know, there has been no further development planned by Sensor team for the existing MMA8x5x driver mentioned above, but i.MX team very likely used and updated this driver and integrated into their Linux/Android BSP.
So my understanding is that the MMA8x5x driver should still be usable in new Linux if not using IIO interface. Maybe some changes are needed to integrate, but it would be much easier with all the core codes already provided there.
Best regards,
Tomas