mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Arnaud Pouliquen](/assets/img/avatar_default.png)
This code offers a way to handle PDM audio microphones in ASOC framework. Audio driver should use consumer API. A specific management is implemented for DMA, with a callback, to allows to handle audio buffers efficiently. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
16 lines
No EOL
634 B
Text
16 lines
No EOL
634 B
Text
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq
|
|
KernelVersion: 4.14
|
|
Contact: arnaud.pouliquen@st.com
|
|
Description:
|
|
For audio purpose only.
|
|
Used by audio driver to set/get the spi input frequency.
|
|
This is mandatory if DFSDM is slave on SPI bus, to
|
|
provide information on the SPI clock frequency during runtime
|
|
Notice that the SPI frequency should be a multiple of sample
|
|
frequency to ensure the precision.
|
|
if DFSDM input is SPI master
|
|
Reading SPI clkout frequency,
|
|
error on writing
|
|
If DFSDM input is SPI Slave:
|
|
Reading returns value previously set.
|
|
Writing value before starting conversions. |