commit | 774623ca41280f74f499416fbbba3b1afbdd910e | [log] [tgz] |
---|---|---|
author | Sanchayan Maity <maitysanchayan@gmail.com> | Fri Sep 19 13:58:00 2014 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Sep 21 13:25:56 2014 +0100 |
tree | 7805edf5c6f3f4abdde520c64f9410537746e8c5 | |
parent | d6be7a02d9cf817d3e3d19167d87e52260620ecd [diff] |
iio:adc:vf610-adc: Add temperature sensor support Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>