Merge drm/drm-next into drm-intel-next-queued
[linux-2.6-microblaze.git] / Documentation / iio / ep93xx_adc.txt
1 Cirrus Logic EP93xx ADC driver.
2
3 1. Overview
4
5 The driver is intended to work on both low-end (EP9301, EP9302) devices with
6 5-channel ADC and high-end (EP9307, EP9312, EP9315) devices with 10-channel
7 touchscreen/ADC module.
8
9 2. Channel numbering
10
11 Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets.
12 EP9307, EP9312 and EP9312 have 3 channels more (total 8), but the numbering is
13 not defined. So the last three are numbered randomly, let's say.
14
15 Assuming ep93xx_adc is IIO device0, you'd find the following entries under
16 /sys/bus/iio/devices/iio:device0/:
17
18   +-----------------+---------------+
19   | sysfs entry     | ball/pin name |
20   +-----------------+---------------+
21   | in_voltage0_raw | YM            |
22   | in_voltage1_raw | SXP           |
23   | in_voltage2_raw | SXM           |
24   | in_voltage3_raw | SYP           |
25   | in_voltage4_raw | SYM           |
26   | in_voltage5_raw | XP            |
27   | in_voltage6_raw | XM            |
28   | in_voltage7_raw | YP            |
29   +-----------------+---------------+