ARM: defconfig: omap2plus: switch LIS3LV02DL driver

Message ID 20170105135400.26429-1-linus.walleij@linaro.org
State New
Headers show

Commit Message

Linus Walleij Jan. 5, 2017, 1:54 p.m.
The OMAP2 plus defconfig lists the LIS3LC02D MISC driver
but there is nowadays a proper IIO driver for this accelerometer.
Switch the config to the new driver.

The IIO software triggers are helpful when using these devices
without a dedicated IRQ line, so activate those too.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 arch/arm/configs/omap2plus_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Tony Lindgren Jan. 5, 2017, 5:36 p.m. | #1
* Linus Walleij <linus.walleij@linaro.org> [170105 05:54]:
> The OMAP2 plus defconfig lists the LIS3LC02D MISC driver

> but there is nowadays a proper IIO driver for this accelerometer.

> Switch the config to the new driver.

> 

> The IIO software triggers are helpful when using these devices

> without a dedicated IRQ line, so activate those too.


Applying into omap-for-v4.11/defconfig thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 195c98b85568..fff43f79852b 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -137,7 +137,6 @@  CONFIG_BLK_DEV_RAM_SIZE=16384
 CONFIG_SENSORS_TSL2550=m
 CONFIG_SRAM=y
 CONFIG_EEPROM_AT24=m
-CONFIG_SENSORS_LIS3_I2C=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_SCSI_SCAN_ASYNC=y
 CONFIG_ATA=y
@@ -426,6 +425,9 @@  CONFIG_EXTCON_PALMAS=m
 CONFIG_EXTCON_USB_GPIO=m
 CONFIG_TI_EMIF=m
 CONFIG_IIO=m
+CONFIG_IIO_SW_DEVICE=m
+CONFIG_IIO_SW_TRIGGER=m
+CONFIG_IIO_ST_ACCEL_3AXIS=m
 CONFIG_TI_AM335X_ADC=m
 CONFIG_BMP280=m
 CONFIG_PWM=y