diff options
author | Simon Glass | 2019-02-16 20:24:59 -0700 |
---|---|---|
committer | Bin Meng | 2019-02-20 15:27:10 +0800 |
commit | 6a27e540de2c5ff580af99b6b093ce00f495466e (patch) | |
tree | 52d2b3187c4c04cac499147999d4d49d652af1ba /drivers/sound/Kconfig | |
parent | 79a5be820d9b187a1d8617d6a1cb65392448322d (diff) |
sound: Add a driver for the i8254 beep
Add a sound driver which can output simple beeps using this legacy timer.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/sound/Kconfig')
-rw-r--r-- | drivers/sound/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig index 4b893f035b0..c1847df07fa 100644 --- a/drivers/sound/Kconfig +++ b/drivers/sound/Kconfig @@ -40,6 +40,18 @@ config I2S_SAMSUNG option provides an implementation for sound_init() and sound_play(). +config SOUND_I8254 + bool "Intel i8254 timer / beeper" + depends on SOUND + help + This enables support for a beeper that uses the i8254 timer chip. + This can emit beeps at a fixed frequency. It is possible to control + the length of the beeps, by turning a beep on, waiting for a period + of time, then turning it off. + + This is quite an old feature, called PIT (Programmable Interval + Timer), but is nonetheless still available on modern x86 machines. + config SOUND_INTEL_HDA bool "Intel HDA audio codec" depends on SOUND |