commit | d5c5b3f3fc1a3ba6d8ec8a8c76da162599286972 | [log] [tgz] |
---|---|---|
author | Nicholas Troast <ntroast@codeaurora.org> | Wed Dec 14 14:26:27 2016 -0800 |
committer | David Collins <collinsd@codeaurora.org> | Thu Feb 09 11:49:32 2017 -0800 |
tree | a45bcfdb1d934b2351f28aa7b819a91ed51a4b71 | |
parent | 60f545921ad3500e3a53f8b75e666e33663229fc [diff] |
iio: support writing processed values to IIO channels Add a new function to the IIO API which allows consumers to write processed values to IIO channels. This is particularly useful for supporting hardware which has configurable ADC thresholds. A consumer would be able to change an ADC threshold by providing a processed value instead of calculating a raw value. Change-Id: I7d3b22beddb6fd1fda0cc0aefbcb4cf5cb58bf82 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>