I am using i.MX233 EVK from FSL ,and the Linux 2.6.31.
TO enable ADC driver we need to configure these things:
Device Drivers --->
<M> Staging drivers --->
IIO staging drivers
Analog to digital converters
<M> Freescale i.MX23 LRADC
But I didn't find IIO staging drivers, ADC, Freescale i.MX23 LRADC options under Staging drivers list. Then how can I enable LRADC driver?
I need to add the patch to my ADC driver, But I'm not finding the following Link- drivers/staging/iio/adc/mxs-lradc.c , where I made to change on this source code. Using this LRADC driver I need to read battery charge values. Can anyone help me to fix this problem?
Thanks in advance.