Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f1dc685 authored by Daqing Chen's avatar Daqing Chen Committed by Gerrit - the friendly Code Review server
Browse files

input: sensors: add ltr553 sensor Kconfig and Makefile



LTR553 is an ambient light and proximity sensor. It can measure
light intensity and object distance. Add Makefile and Kconfig
to enable LTR553 driver.

Change-Id: I7a2ca2ff935ba8c2b938e3e9252fee3b179f3dd0
Signed-off-by: default avatarDaqing Chen <chendaqing@codeaurora.org>
parent f1108f31
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -745,6 +745,16 @@ config SENSORS_AP3426
	  To compile this driver as a module, choose M here: the
	  module will be called ap3426.

config SENSORS_LTR553
	tristate "LTR553 light and proximity device driver"
	depends on I2C
	help
	  Say Y here if you want to enable the LTR553 light and
	  proximity sensor driver.

	  To compile this driver as a module, choose M here: the
	  module will be called ltr553.

config SENSORS_MMC3416X
	tristate "MMC3416xPJ 3-axis magnetic sensor driver"
	depends on I2C
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ obj-$(CONFIG_SENSORS_AP3426) += ap3426.o
obj-$(CONFIG_SENSORS_BMA2X2)	+= bstclass.o

obj-$(CONFIG_SENSORS_BMA2X2)	+= bma2x2.o
obj-$(CONFIG_SENSORS_LTR553)	+= ltr553.o

ifeq ($(CONFIG_SENSORS_BMA2X2_ENABLE_INT1),y)
	EXTRA_CFLAGS += -DBMA2X2_ENABLE_INT1