diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-18 17:53:40 -0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-06-22 10:41:57 +0100 |
commit | 1c349f4fd36e7f957217402f3a7f87031dc8a0b7 (patch) | |
tree | cfaaaa5b07c162660963732f6752f4f6dbd2eef0 /Documentation/iio/ep93xx_adc.rst | |
parent | 7685010fca2ba0284f31fd1380df3cffc96d847e (diff) | |
download | lwn-1c349f4fd36e7f957217402f3a7f87031dc8a0b7.tar.gz lwn-1c349f4fd36e7f957217402f3a7f87031dc8a0b7.zip |
docs: iio: convert to ReST
Rename the iio documentation files to ReST, add an
index for them and adjust in order to produce a nice html
output via the Sphinx build system.
At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/iio/ep93xx_adc.rst')
-rw-r--r-- | Documentation/iio/ep93xx_adc.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/iio/ep93xx_adc.rst b/Documentation/iio/ep93xx_adc.rst new file mode 100644 index 000000000000..4fd8dea3f6b8 --- /dev/null +++ b/Documentation/iio/ep93xx_adc.rst @@ -0,0 +1,40 @@ +============================== +Cirrus Logic EP93xx ADC driver +============================== + +1. Overview +=========== + +The driver is intended to work on both low-end (EP9301, EP9302) devices with +5-channel ADC and high-end (EP9307, EP9312, EP9315) devices with 10-channel +touchscreen/ADC module. + +2. Channel numbering +==================== + +Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets. +EP9307, EP9312 and EP9312 have 3 channels more (total 8), but the numbering is +not defined. So the last three are numbered randomly, let's say. + +Assuming ep93xx_adc is IIO device0, you'd find the following entries under +/sys/bus/iio/devices/iio:device0/: + + +-----------------+---------------+ + | sysfs entry | ball/pin name | + +=================+===============+ + | in_voltage0_raw | YM | + +-----------------+---------------+ + | in_voltage1_raw | SXP | + +-----------------+---------------+ + | in_voltage2_raw | SXM | + +-----------------+---------------+ + | in_voltage3_raw | SYP | + +-----------------+---------------+ + | in_voltage4_raw | SYM | + +-----------------+---------------+ + | in_voltage5_raw | XP | + +-----------------+---------------+ + | in_voltage6_raw | XM | + +-----------------+---------------+ + | in_voltage7_raw | YP | + +-----------------+---------------+ |