Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit fd2f53eb authored by Baolin Wang's avatar Baolin Wang Committed by Jonathan Cameron
Browse files

iio: adc: sc27xx: Add raw data support


The headset device will use channel 20 of ADC controller to detect events,
but it needs the raw ADC data to do conversion according to its own formula.

Thus we should configure the channel mask separately and configure channel
20 as IIO_CHAN_INFO_RAW, as well as adding raw data read support.

Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 91d05d76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment