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