diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-01-31 21:18:45 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-08 11:33:12 +0100 |
commit | 251a5988e58b9b5edbf4bfe2363087a4f07e6176 (patch) | |
tree | e410e866716a653ec56c397c972ef24468f91c12 /drivers/sound/Kconfig | |
parent | b9c593face025942da2336156ccde46821aec1b7 (diff) | |
download | barebox-251a5988e58b9b5edbf4bfe2363087a4f07e6176.tar.gz barebox-251a5988e58b9b5edbf4bfe2363087a4f07e6176.tar.xz |
sound: add PWM beeper support
This driver can be used to drive a piezo-buzzer attached to a PWM.
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/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig index 889657305b..9b7bbd7e7a 100644 --- a/drivers/sound/Kconfig +++ b/drivers/sound/Kconfig @@ -14,6 +14,12 @@ config SOUND_SDL depends on SANDBOX && OFDEVICE select SDL +config PWM_BEEPER + bool "PWM beeper support" + depends on PWM && OFDEVICE + help + Say Y here to get support for PWM based beeper devices. + config SYNTH_SQUARES bool "Synthesize square waves only" help |