summaryrefslogtreecommitdiffstats
path: root/drivers/sound/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-01-31 21:18:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-02-08 11:33:12 +0100
commitfdb315c4a0764c43916236363a0060972108f5d5 (patch)
treea9bdaee5483d89ef6d1a877bdab7277f3c3916e5 /drivers/sound/Kconfig
parent251a5988e58b9b5edbf4bfe2363087a4f07e6176 (diff)
downloadbarebox-fdb315c4a0764c43916236363a0060972108f5d5.tar.gz
barebox-fdb315c4a0764c43916236363a0060972108f5d5.tar.xz
sound: add gpio-beeper support
Add support for simple gpio-beepers. Note that unlike with PWM buzzers, GPIO buzzers can't be controlled in frequency and thus it doesn't make much sense to use the multiple argument version of beep with them. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/sound/Kconfig')
-rw-r--r--drivers/sound/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig
index 9b7bbd7e7a..bf6f715200 100644
--- a/drivers/sound/Kconfig
+++ b/drivers/sound/Kconfig
@@ -20,6 +20,12 @@ config PWM_BEEPER
help
Say Y here to get support for PWM based beeper devices.
+config GPIO_BEEPER
+ bool "GPIO beeper support"
+ depends on GPIOLIB && OFDEVICE
+ help
+ Say Y here to get support for GPIO based beeper devices.
+
config SYNTH_SQUARES
bool "Synthesize square waves only"
help