How to enable AIN1-AIN4 on mini6410?

Anna R. (Russia)
Hi!
How should I configure kernel to make adc devices working?

Ann R. (Russia)
I need ADC!

vib
You need the user-manual of mini6410. Identify the control addresses of the
AIN1-4. Write a device driver for your requirements. 

I wrote one before for S3c2440. However, the process and device driver
writing should be the same.

Juergen Beisert
Hi Anna,

in a recent kernel everything you need is in place. It's just not
registered at runtime, so the kernel does not provide the ADCs to userland.

Do you know my BSP repository? Take a look into the patch
"configs/platform-friendlyarm-mini6410/patches/linux-3.0/add_hwmon_feature.
diff",
then ensure the kernel symbol CONFIG_SENSORS_S3C is Y and you are (mostly)
done. You will find the ADCs channels in
"/sys/devices/platform/s3c64xx-adc/s3c-hwmon/" where you can read the ADC
values with a simple "cat in0_input" command.

Anna R. (Russia)
Thanx.

By the way, are there any plans to make a Qt-based configurator for your
BSP (as it is made in buildroot tool)? It's not very comfortable to make
settings in console mode.

Juergen Beisert
Real programmers running "cat /dev/audio > my_app" and wisper into the
microphone :-)

No, currently no plans for a click&pray app, sorry.