blob: 91439d6d60b5c0ce0acd7924602f2a2af8b7b49a [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq
2KernelVersion: 4.14
3Contact: arnaud.pouliquen@st.com
4Description:
5 For audio purpose only.
Olivier Deprez157378f2022-04-04 15:47:50 +02006
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 Used by audio driver to set/get the spi input frequency.
Olivier Deprez157378f2022-04-04 15:47:50 +02008
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009 This is mandatory if DFSDM is slave on SPI bus, to
10 provide information on the SPI clock frequency during runtime
11 Notice that the SPI frequency should be a multiple of sample
12 frequency to ensure the precision.
Olivier Deprez157378f2022-04-04 15:47:50 +020013
14 if DFSDM input is SPI master:
15
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000016 Reading SPI clkout frequency,
17 error on writing
Olivier Deprez157378f2022-04-04 15:47:50 +020018
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000019 If DFSDM input is SPI Slave:
Olivier Deprez157378f2022-04-04 15:47:50 +020020
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000021 Reading returns value previously set.
David Brazdil0f672f62019-12-10 10:32:29 +000022 Writing value before starting conversions.