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

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

input: sensors: add hall sensor Kconfig and Makefile



Hall sensor is a switch. It senses magnetic field change
to wake up system. Add Makefile and Kconfig to enable
hall sensor driver.

Change-Id: I0526fb6be73517ddbd2662af9e0fd47df394aeaf
Signed-off-by: default avatarDaqing Chen <chendaqing@codeaurora.org>
parent 8806bc6d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -193,6 +193,13 @@ config INPUT_KEYCOMBO
	  To compile this driver as a module, choose M here: the
	  module will be called keycombo.

config SENSORS_HALL
	bool "Hall sensor"
	depends on INPUT
	---help---
	 Say y here if you want to use this hall sensor driver, it
	 is like a switch. For example, lid.

comment "Input Device Drivers"

source "drivers/input/keyboard/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -27,4 +27,5 @@ obj-$(CONFIG_INPUT_MISC) += misc/
obj-$(CONFIG_INPUT_APMPOWER)	+= apm-power.o
obj-$(CONFIG_INPUT_KEYRESET)	+= keyreset.o
obj-$(CONFIG_INPUT_KEYCOMBO)	+= keycombo.o
obj-$(CONFIG_SENSORS_HALL)	+= hall_sensor.o