summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/audio.h
AgeCommit message (Collapse)Author
2011-11-30[ARM] tegra_i2s_audio: add support for master/slave switchingChris Fries
- Remove duplicate code between probe() and resume(), make new function i2s_configure() - When master, pass the sample rate from the board info - Clean up some checkpatch.pl complaints. Change-Id: I0169d9a70c02eaf2173b1f1941a545792c01bc6b Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra_i2s_audio: support mono captureChris Fries
Support mono data formats such as DSP PCM Mode with 16 bit mono capture. This patch also disables the in-driver downsampler. Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra_i2s_audio: add support for selecting tx/rx channels separatelyIliyan Malchev
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra_i2s_audio: allow different DMA bus widthsChris Fries
Added separate APB DMA bus-width controls depending on the audio bus format. Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra: tegra_i2s_audio: remove debugfs, add sysfs interfaceIliyan Malchev
-- Removed debugfs interface for toggling DMA -- Added it under sysfs -- Also added attributes for settings the attention levels of the i2s fifos Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-11-30[ARM] tegra: generic driver for i2s audio (initial implementation)Iliyan Malchev
-- i2s settings are passed through the board file -- supports playback (no recording yet) -- works in DMA and PIO (non-DMA) modes (toggle through debugfs) -- does NOT perform volume and audio-path control -- exports /dev/audio<n>_{in, out}, where <n> is the i2s interface -- assumes that i2s is used such that fifo1 is TX and fifo2 is RX Signed-off-by: Iliyan Malchev <malchev@google.com>