This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x how to get ADC working in new SDK

Other Parts Discussed in Thread: AM3352

Hello,

I'm using I AM3352 own board with the TI Linux SDK 07.00.00.00 version on it.

Now I would like to use the ADC in my user space, I followed the Sitara Linux SDK ADC and I came to the thought that the only thingI must do is to add some code to the device tree file.

So in my device tree file I added the following:

&tscadc{

status = "okay"; 

adc { ti,adc-channels = <6 7>; };

};

After compiling and startup the board, I have no iio avaliable in my /sys/bus, so how can I acces the adc?

Also I saw the following errors when booting up:

[ 0.131070] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.131897] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.132839] OMAP GPIO hardware version 0.1
[ 0.139038] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!

The fck is mentioned in the am33x.dtsi file unther the tscadc.

Thanks in advanced.

Patrick