ep93xx_adc.txt 1.0 KB

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