mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 20:59:10 +07:00
eca949800d
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
634 B
Plaintext
16 lines
634 B
Plaintext
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. |