-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'iio-for-4.5c' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/jic23/iio into staging-next Jonathan writes: Third set of new stuff for IIO in the 4.5 cycle. New driver features - us5182 * Add interrupt support and rising / falling threshold events. Cleanups / fixes to new stuff / minor additions * Expose the IIO value formatting function for drivers to make use of internally. - ina2xx * Fix wrong channel order * Fix incorrect reporting of endianness * Adding documentation of ABI unique to this device - mma8452 * Drop an unused register description * Use an enum for the channel index to aid readability - sca3000 * Use standard NULL comparison style - us5182 * fix an inconsistency in status of enable (a bug with no real effect until above patches are applied) * refactor the read_raw function to improve maintainability / readability.
- Loading branch information
Showing
7 changed files
with
414 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout | ||
Date: December 2015 | ||
KernelVersion: 4.4 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
By default (value '0'), the capture thread checks for the Conversion | ||
Ready Flag to being set prior to committing a new value to the sample | ||
buffer. This synchronizes the in-chip conversion rate with the | ||
in-driver readout rate at the cost of an additional register read. | ||
|
||
Writing '1' will remove the polling for the Conversion Ready Flags to | ||
save the additional i2c transaction, which will improve the bandwidth | ||
available for reading data. However, samples can be occasionally skipped | ||
or repeated, depending on the beat between the capture and conversion | ||
rates. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor | ||
Date: December 2015 | ||
KernelVersion: 4.4 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
The value of the shunt resistor may be known only at runtime fom an | ||
eeprom content read by a client application. This attribute allows to | ||
set its value in ohms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.