Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 1b929c02afd37871d5afb9d498426f83432e71c2 authored by Linus Torvalds on 25 December 2022, 21:41:39 UTC
Linux 6.2-rc1
Tip revision: 1b929c0
sysfs-bus-iio-dfsdm-adc-stm32
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.
back to top