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>
Showing
- arch/sh/boards/mach-hp6xx/setup.c 55 additions, 0 deletionsarch/sh/boards/mach-hp6xx/setup.c
- arch/sh/include/mach-common/mach/hp6xx.h 4 additions, 0 deletionsarch/sh/include/mach-common/mach/hp6xx.h
- include/sound/sh_dac_audio.h 21 additions, 0 deletionsinclude/sound/sh_dac_audio.h
- sound/sh/Kconfig 8 additions, 0 deletionssound/sh/Kconfig
- sound/sh/Makefile 2 additions, 0 deletionssound/sh/Makefile
- sound/sh/sh_dac_audio.c 453 additions, 0 deletionssound/sh/sh_dac_audio.c
Loading
Please register or sign in to comment