ntc_thermistor 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Kernel driver ntc_thermistor
  2. =================
  3. Supported thermistors from Murata:
  4. * Murata NTC Thermistors NCP15WB473, NCP18WB473, NCP21WB473, NCP03WB473, NCP15WL333
  5. Prefixes: 'ncp15wb473', 'ncp18wb473', 'ncp21wb473', 'ncp03wb473', 'ncp15wl333'
  6. Datasheet: Publicly available at Murata
  7. Supported thermistors from EPCOS:
  8. * EPCOS NTC Thermistors B57330V2103
  9. Prefixes: b57330v2103
  10. Datasheet: Publicly available at EPCOS
  11. Other NTC thermistors can be supported simply by adding compensation
  12. tables; e.g., NCP15WL333 support is added by the table ncpXXwl333.
  13. Authors:
  14. MyungJoo Ham <myungjoo.ham@samsung.com>
  15. Description
  16. -----------
  17. The NTC (Negative Temperature Coefficient) thermistor is a simple thermistor
  18. that requires users to provide the resistance and lookup the corresponding
  19. compensation table to get the temperature input.
  20. The NTC driver provides lookup tables with a linear approximation function
  21. and four circuit models with an option not to use any of the four models.
  22. The four circuit models provided are:
  23. $: resister, [TH]: the thermistor
  24. 1. connect = NTC_CONNECTED_POSITIVE, pullup_ohm > 0
  25. [pullup_uV]
  26. | |
  27. [TH] $ (pullup_ohm)
  28. | |
  29. +----+-----------------------[read_uV]
  30. |
  31. $ (pulldown_ohm)
  32. |
  33. --- (ground)
  34. 2. connect = NTC_CONNECTED_POSITIVE, pullup_ohm = 0 (not-connected)
  35. [pullup_uV]
  36. |
  37. [TH]
  38. |
  39. +----------------------------[read_uV]
  40. |
  41. $ (pulldown_ohm)
  42. |
  43. --- (ground)
  44. 3. connect = NTC_CONNECTED_GROUND, pulldown_ohm > 0
  45. [pullup_uV]
  46. |
  47. $ (pullup_ohm)
  48. |
  49. +----+-----------------------[read_uV]
  50. | |
  51. [TH] $ (pulldown_ohm)
  52. | |
  53. -------- (ground)
  54. 4. connect = NTC_CONNECTED_GROUND, pulldown_ohm = 0 (not-connected)
  55. [pullup_uV]
  56. |
  57. $ (pullup_ohm)
  58. |
  59. +----------------------------[read_uV]
  60. |
  61. [TH]
  62. |
  63. --- (ground)
  64. When one of the four circuit models is used, read_uV, pullup_uV, pullup_ohm,
  65. pulldown_ohm, and connect should be provided. When none of the four models
  66. are suitable or the user can get the resistance directly, the user should
  67. provide read_ohm and _not_ provide the others.
  68. Sysfs Interface
  69. ---------------
  70. name the mandatory global attribute, the thermistor name.
  71. temp1_type always 4 (thermistor)
  72. RO
  73. temp1_input measure the temperature and provide the measured value.
  74. (reading this file initiates the reading procedure.)
  75. RO
  76. Note that each NTC thermistor has only _one_ thermistor; thus, only temp1 exists.