[PATCH 2/2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-17 Thread Sanchayan Maity
Vybrid ADC module 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 degree Celsius which is returned using the IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity ---

[PATCH 2/2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-17 Thread Sanchayan Maity
Vybrid ADC module 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 degree Celsius which is returned using the IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity