diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-07-14 03:25:21 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-14 04:23:11 -0400 |
commit | e22739d02a13bb2099084d135f90f4ac6b6d01e1 (patch) | |
tree | d10ac9786860b5c0cb9c85800696f6a01f9c34ff /drivers/input/misc/Kconfig | |
parent | 7beae7028acec3bb235fa079fd7e45cc289c0fd7 (diff) |
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/Kconfig | 11 |
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 | |||
327 | To compile this driver as a module, choose M here: the | 327 | To compile this driver as a module, choose M here: the |
328 | module will be called pcf8574_keypad. | 328 | module will be called pcf8574_keypad. |
329 | 329 | ||
330 | config INPUT_PWM_BEEPER | ||
331 | tristate "PWM beeper support" | ||
332 | depends on HAVE_PWM | ||
333 | help | ||
334 | Say Y here to get support for PWM based beeper devices. | ||
335 | |||
336 | If unsure, say N. | ||
337 | |||
338 | To compile this driver as a module, choose M here: the module will be | ||
339 | called pwm-beeper. | ||
340 | |||
330 | config INPUT_GPIO_ROTARY_ENCODER | 341 | config INPUT_GPIO_ROTARY_ENCODER |
331 | tristate "Rotary encoders connected to GPIO pins" | 342 | tristate "Rotary encoders connected to GPIO pins" |
332 | depends on GPIOLIB && GENERIC_GPIO | 343 | depends on GPIOLIB && GENERIC_GPIO |