blob: ab5b6e5320915014d36198812b6e28c27260e1b9 [file] [log] [blame]
menuconfig SWITCH
tristate "Switch class support"
help
Say Y here to enable switch class support. This allows
monitoring switches by userspace via sysfs and uevent.
if SWITCH
config SWITCH_GPIO
tristate "GPIO Swith support"
depends on GENERIC_GPIO
help
Say Y here to enable GPIO based switch support.
config SWITCH_MAX1462X
tristate "MAXIM Headset detection driver(MAX14628)"
default n
help
Say Y here to enable max1462x switch support. This works
as earjack detection switch and reduces popup noise.
endif # SWITCH