I am trying to use ADC on the AM3359. I am able to read the adc output from all 8 channels in a c/c++ program. The default VDD for ADC is 1.8v, but in my custom board, I am sending 1.6 V to VREFP, and would like to use this as reference voltage as this is much cleaner rail; hence more accurate ADC reading. I have done this in kernel 3.2 before by modifying ti_tscadc.c. I have taken brief look at the kernel 3.8, and seems it has changed a little bit.
So in summary, I am wondering,
- Is there way to configure the ADC to external reference voltage in user space (or kernel?) and How?
Thanks in advance.