^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) KernelVersion: 4.14
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: arnaud.pouliquen@st.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) For audio purpose only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Used by audio driver to set/get the spi input frequency.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) This is mandatory if DFSDM is slave on SPI bus, to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) provide information on the SPI clock frequency during runtime
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Notice that the SPI frequency should be a multiple of sample
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) frequency to ensure the precision.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) if DFSDM input is SPI master:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Reading SPI clkout frequency,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) error on writing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) If DFSDM input is SPI Slave:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Reading returns value previously set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Writing value before starting conversions.