xref: /linux/Documentation/translations/zh_CN/iio/ep93xx_adc.rst (revision 762f99f4f3cb41a775b5157dd761217beba65873)
19ea800c0SYanteng Si.. include:: ../disclaimer-zh_CN.rst
29ea800c0SYanteng Si
3*8137a49eSYanteng Si:Original: Documentation/iio/ep93xx_adc.rst
4*8137a49eSYanteng Si
5*8137a49eSYanteng Si:翻译:
6*8137a49eSYanteng Si
7*8137a49eSYanteng Si 司延腾 Yanteng Si <siyanteng@loongson.cn>
89ea800c0SYanteng Si
99ea800c0SYanteng Si.. _cn_iio_ep93xx_adc:
109ea800c0SYanteng Si
119ea800c0SYanteng Si==================================
129ea800c0SYanteng Si思睿逻辑 EP93xx 模拟数字转换器驱动
139ea800c0SYanteng Si==================================
149ea800c0SYanteng Si
159ea800c0SYanteng Si1. 概述
169ea800c0SYanteng Si=======
179ea800c0SYanteng Si
189ea800c0SYanteng Si该驱动同时适用于具有5通道模拟数字转换器的低端 (EP9301, Ep9302) 设备和10通道
199ea800c0SYanteng Si触摸屏/模拟数字转换器的高端设备(EP9307, EP9312, EP9315)。
209ea800c0SYanteng Si
219ea800c0SYanteng Si2. 通道编号
229ea800c0SYanteng Si===========
239ea800c0SYanteng Si
249ea800c0SYanteng SiEP9301和EP9302数据表定义了通道0..4的编号方案。虽然EP9307, EP9312和EP9315多
259ea800c0SYanteng Si了3个通道(一共8个),但是编号并没有定义。所以说最后三个通道是随机编号的。
269ea800c0SYanteng Si
279ea800c0SYanteng Si如果ep93xx_adc是IIO设备0,您将在以下位置找到条目
289ea800c0SYanteng Si/sys/bus/iio/devices/iio:device0/:
299ea800c0SYanteng Si
309ea800c0SYanteng Si  +-----------------+---------------+
319ea800c0SYanteng Si  | sysfs 入口      | ball/pin 名称 |
329ea800c0SYanteng Si  +=================+===============+
339ea800c0SYanteng Si  | in_voltage0_raw | YM            |
349ea800c0SYanteng Si  +-----------------+---------------+
359ea800c0SYanteng Si  | in_voltage1_raw | SXP           |
369ea800c0SYanteng Si  +-----------------+---------------+
379ea800c0SYanteng Si  | in_voltage2_raw | SXM           |
389ea800c0SYanteng Si  +-----------------+---------------+
399ea800c0SYanteng Si  | in_voltage3_raw | SYP           |
409ea800c0SYanteng Si  +-----------------+---------------+
419ea800c0SYanteng Si  | in_voltage4_raw | SYM           |
429ea800c0SYanteng Si  +-----------------+---------------+
439ea800c0SYanteng Si  | in_voltage5_raw | XP            |
449ea800c0SYanteng Si  +-----------------+---------------+
459ea800c0SYanteng Si  | in_voltage6_raw | XM            |
469ea800c0SYanteng Si  +-----------------+---------------+
479ea800c0SYanteng Si  | in_voltage7_raw | YP            |
489ea800c0SYanteng Si  +-----------------+---------------+
49