xref: /linux/Documentation/translations/zh_CN/iio/ep93xx_adc.rst (revision 9ea800c0113d377e71324b668115f4ae24835931)
1*9ea800c0SYanteng Si.. include:: ../disclaimer-zh_CN.rst
2*9ea800c0SYanteng Si
3*9ea800c0SYanteng Si:Original: :doc:`../../../iio/ep93xx_adc`
4*9ea800c0SYanteng Si:Translator: Yanteng Si <siyanteng@loongson.cn>
5*9ea800c0SYanteng Si
6*9ea800c0SYanteng Si.. _cn_iio_ep93xx_adc:
7*9ea800c0SYanteng Si
8*9ea800c0SYanteng Si
9*9ea800c0SYanteng Si==================================
10*9ea800c0SYanteng Si思睿逻辑 EP93xx 模拟数字转换器驱动
11*9ea800c0SYanteng Si==================================
12*9ea800c0SYanteng Si
13*9ea800c0SYanteng Si1. 概述
14*9ea800c0SYanteng Si=======
15*9ea800c0SYanteng Si
16*9ea800c0SYanteng Si该驱动同时适用于具有5通道模拟数字转换器的低端 (EP9301, Ep9302) 设备和10通道
17*9ea800c0SYanteng Si触摸屏/模拟数字转换器的高端设备(EP9307, EP9312, EP9315)。
18*9ea800c0SYanteng Si
19*9ea800c0SYanteng Si2. 通道编号
20*9ea800c0SYanteng Si===========
21*9ea800c0SYanteng Si
22*9ea800c0SYanteng SiEP9301和EP9302数据表定义了通道0..4的编号方案。虽然EP9307, EP9312和EP9315多
23*9ea800c0SYanteng Si了3个通道(一共8个),但是编号并没有定义。所以说最后三个通道是随机编号的。
24*9ea800c0SYanteng Si
25*9ea800c0SYanteng Si如果ep93xx_adc是IIO设备0,您将在以下位置找到条目
26*9ea800c0SYanteng Si/sys/bus/iio/devices/iio:device0/:
27*9ea800c0SYanteng Si
28*9ea800c0SYanteng Si  +-----------------+---------------+
29*9ea800c0SYanteng Si  | sysfs 入口      | ball/pin 名称 |
30*9ea800c0SYanteng Si  +=================+===============+
31*9ea800c0SYanteng Si  | in_voltage0_raw | YM            |
32*9ea800c0SYanteng Si  +-----------------+---------------+
33*9ea800c0SYanteng Si  | in_voltage1_raw | SXP           |
34*9ea800c0SYanteng Si  +-----------------+---------------+
35*9ea800c0SYanteng Si  | in_voltage2_raw | SXM           |
36*9ea800c0SYanteng Si  +-----------------+---------------+
37*9ea800c0SYanteng Si  | in_voltage3_raw | SYP           |
38*9ea800c0SYanteng Si  +-----------------+---------------+
39*9ea800c0SYanteng Si  | in_voltage4_raw | SYM           |
40*9ea800c0SYanteng Si  +-----------------+---------------+
41*9ea800c0SYanteng Si  | in_voltage5_raw | XP            |
42*9ea800c0SYanteng Si  +-----------------+---------------+
43*9ea800c0SYanteng Si  | in_voltage6_raw | XM            |
44*9ea800c0SYanteng Si  +-----------------+---------------+
45*9ea800c0SYanteng Si  | in_voltage7_raw | YP            |
46*9ea800c0SYanteng Si  +-----------------+---------------+
47