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