diff options
author | Rafael Ignacio Zurita <rizurita@yahoo.com> | 2009-11-03 15:16:27 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-04 03:17:40 -0500 |
commit | 9dcaa7b25f2c8f6a0485854cd3641f585a154072 (patch) | |
tree | 1f3453a235682f5ba4b4357633f3546a4dbf4e2b /sound/sh/Kconfig | |
parent | bcc2c6b7cb320d10c7fcccd87dce87f4384b4332 (diff) |
ALSA: sh: add SuperH DAC audio driver for ALSA V4
This is a port of the sound/oss/sh_dac_audio.c driver.
The driver uses an on-chip 8-bit D/A converter, which has a speaker connected
to one of its channels, found in several ancient HP machines.
For interrupts it uses a high-resolution timer (hrtimer).
Tested on SH7709 based hp6xx (HP Jornada 680/690 and HP Palmtop 620lx/660lx).
Also, since OSS Emulation works, the old OSS sound/oss/sh_dac_audio.c driver
would be obsolete soon, and it could be removed.
Signed-off-by: Rafael Ignacio Zurita <rizurita@yahoo.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh/Kconfig')
-rw-r--r-- | sound/sh/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/sh/Kconfig b/sound/sh/Kconfig index aed0f90c3919..61139f3c1614 100644 --- a/sound/sh/Kconfig +++ b/sound/sh/Kconfig | |||
@@ -19,5 +19,13 @@ config SND_AICA | |||
19 | help | 19 | help |
20 | ALSA Sound driver for the SEGA Dreamcast console. | 20 | ALSA Sound driver for the SEGA Dreamcast console. |
21 | 21 | ||
22 | config SND_SH_DAC_AUDIO | ||
23 | tristate "SuperH DAC audio support" | ||
24 | depends on SND | ||
25 | depends on CPU_SH3 && HIGH_RES_TIMERS | ||
26 | select SND_PCM | ||
27 | help | ||
28 | Say Y here to include support for the on-chip DAC. | ||
29 | |||
22 | endif # SND_SUPERH | 30 | endif # SND_SUPERH |
23 | 31 | ||