I am not able to find out Linux driver for MPL3115A2 sensor. We are using IMAX8MQ-EVK board and want to integrate MPL3115A2 sensor.
I appreciate your help.
I would recommend you to download and have a look at the MPL3115A2 Pressure Sensor Linux Driver for Android Devices (REV 1.0).
Hope it helps.
We used the driver from GitHub for MPL3115A2 sensor. Link to driver on the Github is https://github.com/torvalds/linux/blob/master/drivers/iio/pressure/mpl3115.c
We have connected the MPL3115 sensor to IMX8MQ-EVK board.
We are able to probe the sensor but not able to find a way on how to read from the sensor. We tried to read /sys/class/i2c-dev/i2c-1/device/1-0060/iio\:device0/in_temp_scale but it doesn’t exist.
We are able to see till /sys/class/i2c-dev/i2c-1/device/1-0060/ but not the iio\:device0/in_temp_scale
We would appreciate if you can help us on how to read the data from sensor on the Linux platform.
Retrieving data ...