0001 What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq
0002 KernelVersion: 4.14
0003 Contact: arnaud.pouliquen@st.com
0004 Description:
0005 For audio purpose only.
0006
0007 Used by audio driver to set/get the spi input frequency.
0008
0009 This is mandatory if DFSDM is slave on SPI bus, to
0010 provide information on the SPI clock frequency during runtime
0011 Notice that the SPI frequency should be a multiple of sample
0012 frequency to ensure the precision.
0013
0014 if DFSDM input is SPI master:
0015
0016 Reading SPI clkout frequency,
0017 error on writing
0018
0019 If DFSDM input is SPI Slave:
0020
0021 Reading returns value previously set.
0022 Writing value before starting conversions.