Skip to content

Commit 9ea800c

Browse files
Yanteng SiJonathan Corbet
authored andcommitted
docs/zh_CN: add iio ep93xx_adc.rst translation
This patch translates Documentation/iio/ep93xx_adc.rst into Chinese. Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com> Reviewed-by: Huacai Chen <chenhuacai@kernel.org> Link: https://lore.kernel.org/r/20210121033302.558935-2-siyanteng@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 452f81e commit 9ea800c

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)