[PATCH v2] Implement temperature sensor for vf610-adc

From: Sanchayan Maity
Date: Thu Sep 18 2014 - 07:53:45 EST


Vybrid ADC peripheral includes a temperature sensor
which is connected to channel number 26. The 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.

Sanchayan Maity (1):
ARM: imx: vf610-adc: Add temperature sensor support

drivers/iio/adc/vf610_adc.c | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/