~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/hwmon/mc13783-adc.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Kernel driver mc13783-adc
  2 =========================
  3 
  4 Supported chips:
  5 
  6   * Freescale MC13783
  7 
  8     Prefix: 'mc13783'
  9 
 10     Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13783.pdf
 11 
 12   * Freescale MC13892
 13 
 14     Prefix: 'mc13892'
 15 
 16     Datasheet: https://www.nxp.com/docs/en/data-sheet/MC13892.pdf
 17 
 18 
 19 
 20 Authors:
 21 
 22    - Sascha Hauer <s.hauer@pengutronix.de>
 23    - Luotao Fu <l.fu@pengutronix.de>
 24 
 25 Description
 26 -----------
 27 
 28 The Freescale MC13783 and MC13892 are Power Management and Audio Circuits.
 29 Among other things they contain a 10-bit A/D converter. The converter has 16
 30 (MC13783) resp. 12 (MC13892) channels which can be used in different modes. The
 31 A/D converter has a resolution of 2.25mV.
 32 
 33 Some channels can be used as General Purpose inputs or in a dedicated mode with
 34 a chip internal scaling applied .
 35 
 36 Currently the driver only supports the Application Supply channel (BP / BPSNS),
 37 the General Purpose inputs and touchscreen.
 38 
 39 See the following tables for the meaning of the different channels and their
 40 chip internal scaling:
 41 
 42 - MC13783:
 43 
 44 ======= =============================================== =============== =======
 45 Channel Signal                                          Input Range     Scaling
 46 ======= =============================================== =============== =======
 47 0       Battery Voltage (BATT)                          2.50 - 4.65V    -2.40V
 48 1       Battery Current (BATT - BATTISNS)               -50 - 50 mV     x20
 49 2       Application Supply (BP)                         2.50 - 4.65V    -2.40V
 50 3       Charger Voltage (CHRGRAW)                       0 - 10V /       /5
 51                                                         0 - 20V         /10
 52 4       Charger Current (CHRGISNSP-CHRGISNSN)           -0.25 - 0.25V   x4
 53 5       General Purpose ADIN5 / Battery Pack Thermistor 0 - 2.30V       No
 54 6       General Purpose ADIN6 / Backup Voltage (LICELL) 0 - 2.30V /     No /
 55                                                         1.50 - 3.50V    -1.20V
 56 7       General Purpose ADIN7 / UID / Die Temperature   0 - 2.30V /     No /
 57                                                         0 - 2.55V /     x0.9 / No
 58 8       General Purpose ADIN8                           0 - 2.30V       No
 59 9       General Purpose ADIN9                           0 - 2.30V       No
 60 10      General Purpose ADIN10                          0 - 2.30V       No
 61 11      General Purpose ADIN11                          0 - 2.30V       No
 62 12      General Purpose TSX1 / Touchscreen X-plate 1    0 - 2.30V       No
 63 13      General Purpose TSX2 / Touchscreen X-plate 2    0 - 2.30V       No
 64 14      General Purpose TSY1 / Touchscreen Y-plate 1    0 - 2.30V       No
 65 15      General Purpose TSY2 / Touchscreen Y-plate 2    0 - 2.30V       No
 66 ======= =============================================== =============== =======
 67 
 68 - MC13892:
 69 
 70 ======= =============================================== =============== =======
 71 Channel Signal                                          Input Range     Scaling
 72 ======= =============================================== =============== =======
 73 0       Battery Voltage (BATT)                          0 - 4.8V        /2
 74 1       Battery Current (BATT - BATTISNSCC)             -60 - 60 mV     x20
 75 2       Application Supply (BPSNS)                      0 - 4.8V        /2
 76 3       Charger Voltage (CHRGRAW)                       0 - 12V /       /5
 77                                                         0 - 20V         /10
 78 4       Charger Current (CHRGISNS-BPSNS) /              -0.3 - 0.3V /   x4 /
 79         Touchscreen X-plate 1                           0 - 2.4V        No
 80 5       General Purpose ADIN5 / Battery Pack Thermistor 0 - 2.4V        No
 81 6       General Purpose ADIN6 / Backup Voltage (LICELL) 0 - 2.4V /      No
 82         Backup Voltage (LICELL)                         0 - 3.6V        x2/3
 83 7       General Purpose ADIN7 / UID / Die Temperature   0 - 2.4V /      No /
 84                                                         0 - 4.8V        /2
 85 12      General Purpose TSX1 / Touchscreen X-plate 1    0 - 2.4V        No
 86 13      General Purpose TSX2 / Touchscreen X-plate 2    0 - 2.4V        No
 87 14      General Purpose TSY1 / Touchscreen Y-plate 1    0 - 2.4V        No
 88 15      General Purpose TSY2 / Touchscreen Y-plate 2    0 - 2.4V        No
 89 ======= =============================================== =============== =======

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php