mc13783-adc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Kernel driver mc13783-adc
  2. =========================
  3. Supported chips:
  4. * Freescale Atlas MC13783
  5. Prefix: 'mc13783_adc'
  6. Datasheet: http://www.freescale.com/files/rf_if/doc/data_sheet/MC13783.pdf?fsrch=1
  7. Authors:
  8. Sascha Hauer <s.hauer@pengutronix.de>
  9. Luotao Fu <l.fu@pengutronix.de>
  10. Description
  11. -----------
  12. The Freescale MC13783 is a Power Management and Audio Circuit. Among
  13. other things it contains a 10-bit A/D converter. The converter has 16
  14. channels which can be used in different modes.
  15. The A/D converter has a resolution of 2.25mV. Channels 0-4 have
  16. a dedicated meaning with chip internal scaling applied. Channels 5-7
  17. can be used as general purpose inputs or alternatively in a dedicated
  18. mode. Channels 12-15 are occupied by the touchscreen if it's active.
  19. Currently the driver only supports channels 2 and 5-15 with no alternative
  20. modes for channels 5-7.
  21. See this table for the meaning of the different channels and their chip
  22. internal scaling:
  23. Channel Signal Input Range Scaling
  24. -------------------------------------------------------------------------------
  25. 0 Battery Voltage (BATT) 2.50 - 4.65V -2.40V
  26. 1 Battery Current (BATT - BATTISNS) -50 - 50 mV x20
  27. 2 Application Supply (BP) 2.50 - 4.65V -2.40V
  28. 3 Charger Voltage (CHRGRAW) 0 - 10V / /5
  29. 0 - 20V /10
  30. 4 Charger Current (CHRGISNSP-CHRGISNSN) -0.25V - 0.25V x4
  31. 5 General Purpose ADIN5 / Battery Pack Thermistor 0 - 2.30V No
  32. 6 General Purpose ADIN6 / Backup Voltage (LICELL) 0 - 2.30V / No /
  33. 1.50 - 3.50V -1.20V
  34. 7 General Purpose ADIN7 / UID / Die Temperature 0 - 2.30V / No /
  35. 0 - 2.55V / x0.9 / No
  36. 8 General Purpose ADIN8 0 - 2.30V No
  37. 9 General Purpose ADIN9 0 - 2.30V No
  38. 10 General Purpose ADIN10 0 - 2.30V No
  39. 11 General Purpose ADIN11 0 - 2.30V No
  40. 12 General Purpose TSX1 / Touchscreen X-plate 1 0 - 2.30V No
  41. 13 General Purpose TSX2 / Touchscreen X-plate 2 0 - 2.30V No
  42. 14 General Purpose TSY1 / Touchscreen Y-plate 1 0 - 2.30V No
  43. 15 General Purpose TSY2 / Touchscreen Y-plate 2 0 - 2.30V No