summaryrefslogtreecommitdiff
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-07-14 00:25:21 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-14 01:23:11 -0700
commite22739d02a13bb2099084d135f90f4ac6b6d01e1 (patch)
treed10ac9786860b5c0cb9c85800696f6a01f9c34ff /drivers/input/misc/Kconfig
parent7beae7028acec3bb235fa079fd7e45cc289c0fd7 (diff)
downloadlwn-e22739d02a13bb2099084d135f90f4ac6b6d01e1.tar.gz
lwn-e22739d02a13bb2099084d135f90f4ac6b6d01e1.zip
Input: Add pwm beeper driver
This patch adds a simple driver which allows to use pwm based beepers (for example piezo elements) as a pcspkr-like device. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index ede6d52fe95c..b49e23379723 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -327,6 +327,17 @@ config INPUT_PCF8574
To compile this driver as a module, choose M here: the
module will be called pcf8574_keypad.
+config INPUT_PWM_BEEPER
+ tristate "PWM beeper support"
+ depends on HAVE_PWM
+ help
+ Say Y here to get support for PWM based beeper devices.
+
+ If unsure, say N.
+
+ To compile this driver as a module, choose M here: the module will be
+ called pwm-beeper.
+
config INPUT_GPIO_ROTARY_ENCODER
tristate "Rotary encoders connected to GPIO pins"
depends on GPIOLIB && GENERIC_GPIO