1*6e17c98aSMarc TitingerWhat: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout 2*6e17c98aSMarc TitingerDate: December 2015 3*6e17c98aSMarc TitingerKernelVersion: 4.4 4*6e17c98aSMarc TitingerContact: linux-iio@vger.kernel.org 5*6e17c98aSMarc TitingerDescription: 6*6e17c98aSMarc Titinger By default (value '0'), the capture thread checks for the Conversion 7*6e17c98aSMarc Titinger Ready Flag to being set prior to committing a new value to the sample 8*6e17c98aSMarc Titinger buffer. This synchronizes the in-chip conversion rate with the 9*6e17c98aSMarc Titinger in-driver readout rate at the cost of an additional register read. 10*6e17c98aSMarc Titinger 11*6e17c98aSMarc Titinger Writing '1' will remove the polling for the Conversion Ready Flags to 12*6e17c98aSMarc Titinger save the additional i2c transaction, which will improve the bandwidth 13*6e17c98aSMarc Titinger available for reading data. However, samples can be occasionally skipped 14*6e17c98aSMarc Titinger or repeated, depending on the beat between the capture and conversion 15*6e17c98aSMarc Titinger rates. 16*6e17c98aSMarc Titinger 17*6e17c98aSMarc TitingerWhat: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor 18*6e17c98aSMarc TitingerDate: December 2015 19*6e17c98aSMarc TitingerKernelVersion: 4.4 20*6e17c98aSMarc TitingerContact: linux-iio@vger.kernel.org 21*6e17c98aSMarc TitingerDescription: 22*6e17c98aSMarc Titinger The value of the shunt resistor may be known only at runtime fom an 23*6e17c98aSMarc Titinger eeprom content read by a client application. This attribute allows to 24*6e17c98aSMarc Titinger set its value in ohms. 25