summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorMarc Titinger <mtitinger@baylibre.com>2015-12-07 10:09:35 +0100
committerJonathan Cameron <jic23@kernel.org>2015-12-12 16:07:41 +0000
commitf9993c0771ce24063fe62bf73ac57bcfc9ad81de (patch)
tree8d2de8e4b48df74802ad3588e83d19b3432d595a /drivers/iio/accel
parentc43a102e67db99c8bfe6e8a9280cec13ff53b789 (diff)
downloadlinux-f9993c0771ce24063fe62bf73ac57bcfc9ad81de.tar.bz2
iio: ina2xx: provide a sysfs parameter to allow async readout of the ADCs
This can lead to repeated or skipped samples depending on the clock beat between the capture thread and the chip sampling clock, but will also spare reading/waiting for the Capture Ready Flag and improve the available i2c bandwidth for reading measurements. Output of iio_info: ...snip... 4 device-specific attributes found: attr 0: in_oversampling_ratio value: 4 attr 1: in_allow_async_readout value: 0 attr 2: integration_time_available value: 140 204 332 588 1100 2116... attr 3: in_sampling_frequency value: 114 Signed-off-by: Marc Titinger <mtitinger@baylibre.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions