1eca94980SArnaud PouliquenWhat: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq 2eca94980SArnaud PouliquenKernelVersion: 4.14 3eca94980SArnaud PouliquenContact: arnaud.pouliquen@st.com 4eca94980SArnaud PouliquenDescription: 5eca94980SArnaud Pouliquen For audio purpose only. 634433332SMauro Carvalho Chehab 7eca94980SArnaud Pouliquen Used by audio driver to set/get the spi input frequency. 834433332SMauro Carvalho Chehab 9eca94980SArnaud Pouliquen This is mandatory if DFSDM is slave on SPI bus, to 10eca94980SArnaud Pouliquen provide information on the SPI clock frequency during runtime 11eca94980SArnaud Pouliquen Notice that the SPI frequency should be a multiple of sample 12eca94980SArnaud Pouliquen frequency to ensure the precision. 1334433332SMauro Carvalho Chehab 1434433332SMauro Carvalho Chehab if DFSDM input is SPI master: 1534433332SMauro Carvalho Chehab 16eca94980SArnaud Pouliquen Reading SPI clkout frequency, 17eca94980SArnaud Pouliquen error on writing 1834433332SMauro Carvalho Chehab 19eca94980SArnaud Pouliquen If DFSDM input is SPI Slave: 2034433332SMauro Carvalho Chehab 21eca94980SArnaud Pouliquen Reading returns value previously set. 22eca94980SArnaud Pouliquen Writing value before starting conversions. 23