summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2016-08-12 09:54:43 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-23 23:26:55 -0300
commit34724057b099ea72a06c151aa1d03bcff5da8841 (patch)
treeebd5d42d14239f8f0d7530deacd278ec4f19ec95 /recipes-kernel
parent17d6b95fe419b53e851e037b9f4346f507548393 (diff)
downloadmeta-freescale-34724057b099ea72a06c151aa1d03bcff5da8841.tar.gz
linux-fslc-imx: Replace MPL3115 driver
There are currently two driver implementations for the MPL3115: - drivers/input/misc/mpl3115.c (from NXP kernel) - drivers/iio/pressure/mpl3115.c (from upstream kernel). Use the CONFIG_MPL3115 instead of CONFIG_INPUT_MPL3115 because this driver uses the Industrial I/O framework, which is the preferred and standard subsystem for sensors. The data from this sensor can be read by using the following commands on a warp7 board: cat /sys/bus/iio/devices/iio:device0/in_pressure_raw cat /sys/bus/iio/devices/iio:device0/in_temp_raw Signed-off-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
index b8456744..7fa0c667 100644
--- a/recipes-kernel/linux/linux-fslc-imx/defconfig
+++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
@@ -167,7 +167,6 @@ CONFIG_TOUCHSCREEN_TSC2007=y
167CONFIG_TOUCHSCREEN_STMPE=y 167CONFIG_TOUCHSCREEN_STMPE=y
168CONFIG_INPUT_MISC=y 168CONFIG_INPUT_MISC=y
169CONFIG_INPUT_MMA8450=y 169CONFIG_INPUT_MMA8450=y
170CONFIG_INPUT_MPL3115=y
171CONFIG_SENSOR_FXLS8471=y 170CONFIG_SENSOR_FXLS8471=y
172CONFIG_INPUT_ISL29023=y 171CONFIG_INPUT_ISL29023=y
173CONFIG_SERIO_SERPORT=m 172CONFIG_SERIO_SERPORT=m
@@ -360,6 +359,7 @@ CONFIG_STAGING_MEDIA=y
360CONFIG_IIO=y 359CONFIG_IIO=y
361CONFIG_IMX7D_ADC=y 360CONFIG_IMX7D_ADC=y
362CONFIG_VF610_ADC=y 361CONFIG_VF610_ADC=y
362CONFIG_MPL3115=y
363CONFIG_PWM=y 363CONFIG_PWM=y
364CONFIG_PWM_IMX=y 364CONFIG_PWM_IMX=y
365CONFIG_EXT2_FS=y 365CONFIG_EXT2_FS=y