Age | Commit message (Collapse) | Author |
|
- 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>
|
|
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>
|
|
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
Added separate APB DMA bus-width controls depending on the audio bus format.
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
-- 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>
|
|
-- 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>
|