Is is possible to read adc0 and adc1....

Mageshwaran
Hi to all,

        i am using mini6410. i have to use ADC 0 and ADC 1 in my project
but there is only one driver for ADC. how can i use both ADC channel... in
some of the form u direct to use pengutronix and what is the use of it..
Is it possible to use ADC channels with out using it..?


Tanks in advance...

davef
You don't have to use the Pengutronix BSP to do what you want to do.  

Search for "AIN1, 2, 3"

Seem to be a lot of ADC projects on at the moment :)

Mageshwaran
i have both mini 2440 and mini 6410 which is best suitable to read both
ADC. i am a beginner to Linux

davef
There is probably more information around to do it on the mini2440.  Best? 
I think the performance of both of them are similar.

I just checked what is available using the Pengutronix BSP and all 7 appear
in:

/sys/devices/platfor/s3c24xx-adc/s3c-hwmon/

labelled in0_input .... in7_input

in4,5,6 and 7 are used by the touchscreen so you have 4 inputs you can use
by connecting the voltage to be measured up to the appropriate pin on the
GPIO connector.

I think it would be less painful for you in the long-run to get the
Pengutronix BSP working.  Writing kernel driver is an expert topic.