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.

[参考译文] Linux/AM3354:ADC

Guru**** 2611705 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/583151/linux-am3354-adc

器件型号:AM3354

工具/软件:Linux

您好!

按照以下链接配置 ADC 通道、

http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver%27s_Guide

板级配置文件具有、

/* TSC 控制器*/
静态结构 TSC_DATA AM335x_Touchscreen 数据={
电线= 4、
.x_plate 电阻= 200、
.Steps_TO_configure = 5、
};

静态结构 ADC_DATA AM335x_ADC_DATA ={
ADC_CHANNELS = 4、
};

静态结构 MFD_tscadc_board tscadc ={
.tsc_init =&AM335x_Touchscreen 数据、
.adc_init =&AM335x_adc_data、
};

并 调用 MFD_tscadc_init()。

启动后、我在路径 /sys/bus/iio/devices.下观察到空

注:-

内核:3.2.0

已将驱动程序配置为内置驱动程序。

谢谢、此致

Dileep