18c2ecf20Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq 28c2ecf20Sopenharmony_ciKernelVersion: 4.14 38c2ecf20Sopenharmony_ciContact: arnaud.pouliquen@st.com 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci For audio purpose only. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci Used by audio driver to set/get the spi input frequency. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci This is mandatory if DFSDM is slave on SPI bus, to 108c2ecf20Sopenharmony_ci provide information on the SPI clock frequency during runtime 118c2ecf20Sopenharmony_ci Notice that the SPI frequency should be a multiple of sample 128c2ecf20Sopenharmony_ci frequency to ensure the precision. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci if DFSDM input is SPI master: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci Reading SPI clkout frequency, 178c2ecf20Sopenharmony_ci error on writing 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci If DFSDM input is SPI Slave: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci Reading returns value previously set. 228c2ecf20Sopenharmony_ci Writing value before starting conversions. 23