• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Cirrus Logic EP93xx ADC driver.
2
31. Overview
4
5The driver is intended to work on both low-end (EP9301, EP9302) devices with
65-channel ADC and high-end (EP9307, EP9312, EP9315) devices with 10-channel
7touchscreen/ADC module.
8
92. Channel numbering
10
11Numbering scheme for channels 0..4 is defined in EP9301 and EP9302 datasheets.
12EP9307, EP9312 and EP9312 have 3 channels more (total 8), but the numbering is
13not defined. So the last three are numbered randomly, let's say.
14
15Assuming 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  +-----------------+---------------+
30