OSDN Git Service

ARM: dts: imx6qdl-sabreauto: Add sensors
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 18 Jun 2018 08:15:44 +0000 (11:15 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 19 Jun 2018 02:52:13 +0000 (10:52 +0800)
commita211b8c55f3ce54423bd1daf1bca82271b08ac2f
tree8d0e2857ebe24642e0ef619f7112297d1c957d73
parentf3af1e5c0c6fe20cd2cc3ae5512c79d8e2dfbfba
ARM: dts: imx6qdl-sabreauto: Add sensors

The following sensors are on I2C3 on the baseboard:
* isil,isl29023 light sensor
* fsl,mag3110 magnetometer
* fsl,mma8451 accelerometer

Added under i2cmux/i2c@1 because they're not otherwise accessible.

These are all supported by iio with following configs:
* CONFIG_SENSORS_ISL29018
* CONFIG_MAG3110
* CONFIG_MMA8452

Tested with raw reads from iio sysfs.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi