Hi Everyone,
I want to interface the inbuilt NXP MMA8451 3-Axis Accelerometer in I.MX6QP Sabre Board.
Can anyone provide any support document or any reference.
Thanks
Hi @manishUniyal,
Hope you are doing well.
The accelerometer can be programmed through I2C interface. Please see the driver path as below with the link:
drivers/i2c/busses/i2c-lp.imx.c.
https://elixir.bootlin.com/linux/latest/source/drivers/i2c/busses/i2c-imx.c
In addition to this, one can also refer the below github link:
https://github.com/torvalds/linux/blob/master/drivers/iio/accel/mma8452.c
Thanks & Regards,
Ritesh M Patel