ntc_thermistor 2.4 KB

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