zl6100.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. Kernel driver zl6100
  2. ====================
  3. Supported chips:
  4. * Renesas / Intersil / Zilker Labs ZL2004
  5. Prefix: 'zl2004'
  6. Addresses scanned: -
  7. Datasheet: https://www.renesas.com/us/en/document/dst/zl2004-datasheet.pdf
  8. * Renesas / Intersil / Zilker Labs ZL2005
  9. Prefix: 'zl2005'
  10. Addresses scanned: -
  11. Datasheet: https://www.renesas.com/us/en/document/dst/zl2005-datasheet.pdf
  12. * Renesas / Intersil / Zilker Labs ZL2006
  13. Prefix: 'zl2006'
  14. Addresses scanned: -
  15. Datasheet: https://www.renesas.com/us/en/document/dst/zl2006-datasheet.pdf
  16. * Renesas / Intersil / Zilker Labs ZL2008
  17. Prefix: 'zl2008'
  18. Addresses scanned: -
  19. Datasheet: https://www.renesas.com/us/en/document/dst/zl2008-datasheet.pdf
  20. * Renesas / Intersil / Zilker Labs ZL2105
  21. Prefix: 'zl2105'
  22. Addresses scanned: -
  23. Datasheet: https://www.renesas.com/us/en/document/dst/zl2105-datasheet.pdf
  24. * Renesas / Intersil / Zilker Labs ZL2106
  25. Prefix: 'zl2106'
  26. Addresses scanned: -
  27. Datasheet: https://www.renesas.com/us/en/document/dst/zl2106-datasheet.pdf
  28. * Renesas / Intersil / Zilker Labs ZL6100
  29. Prefix: 'zl6100'
  30. Addresses scanned: -
  31. Datasheet: https://www.renesas.com/us/en/document/dst/zl6100-datasheet.pdf
  32. * Renesas / Intersil / Zilker Labs ZL6105
  33. Prefix: 'zl6105'
  34. Addresses scanned: -
  35. Datasheet: https://www.renesas.com/us/en/document/dst/zl6105-datasheet.pdf
  36. * Renesas / Intersil / Zilker Labs ZL8802
  37. Prefix: 'zl8802'
  38. Addresses scanned: -
  39. Datasheet: https://www.renesas.com/us/en/document/dst/zl8802-datasheet
  40. * Renesas / Intersil / Zilker Labs ZL9101M
  41. Prefix: 'zl9101'
  42. Addresses scanned: -
  43. Datasheet: https://www.renesas.com/us/en/document/dst/zl9101m-datasheet
  44. * Renesas / Intersil / Zilker Labs ZL9117M
  45. Prefix: 'zl9117'
  46. Addresses scanned: -
  47. Datasheet: https://www.renesas.com/us/en/document/dst/zl9117m-datasheet
  48. * Renesas / Intersil / Zilker Labs ZLS1003, ZLS4009
  49. Prefix: 'zls1003', zls4009
  50. Addresses scanned: -
  51. Datasheet: Not published
  52. * Flex BMR450, BMR451
  53. Prefix: 'bmr450', 'bmr451'
  54. Addresses scanned: -
  55. Datasheet:
  56. https://flexpowermodules.com/resources/fpm-techspec-bmr450-digital-pol-regulators-20a
  57. * Flex BMR462, BMR463, BMR464
  58. Prefixes: 'bmr462', 'bmr463', 'bmr464'
  59. Addresses scanned: -
  60. Datasheet: https://flexpowermodules.com/resources/fpm-techspec-bmr462
  61. * Flex BMR465, BMR467
  62. Prefixes: 'bmr465', 'bmr467'
  63. Addresses scanned: -
  64. Datasheet: https://flexpowermodules.com/resources/fpm-techspec-bmr465-digital-pol
  65. * Flex BMR466
  66. Prefixes: 'bmr466'
  67. Addresses scanned: -
  68. Datasheet: https://flexpowermodules.com/resources/fpm-techspec-bmr466-8x12
  69. * Flex BMR469
  70. Prefixes: 'bmr469'
  71. Addresses scanned: -
  72. Datasheet: https://flexpowermodules.com/resources/fpm-techspec-bmr4696001
  73. Author: Guenter Roeck <[email protected]>
  74. Description
  75. -----------
  76. This driver supports hardware monitoring for Renesas / Intersil / Zilker Labs
  77. ZL6100 and compatible digital DC-DC controllers.
  78. The driver is a client driver to the core PMBus driver. Please see
  79. Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
  80. on PMBus client drivers.
  81. Usage Notes
  82. -----------
  83. This driver does not auto-detect devices. You will have to instantiate the
  84. devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
  85. details.
  86. .. warning::
  87. Do not access chip registers using the i2cdump command, and do not use
  88. any of the i2ctools commands on a command register used to save and restore
  89. configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by
  90. this driver interpret any access to those command registers (including read
  91. commands) as request to execute the command in question. Unless write accesses
  92. to those registers are protected, this may result in power loss, board resets,
  93. and/or Flash corruption. Worst case, your board may turn into a brick.
  94. Platform data support
  95. ---------------------
  96. The driver supports standard PMBus driver platform data.
  97. Module parameters
  98. -----------------
  99. delay
  100. -----
  101. Renesas/Intersil/Zilker Labs DC-DC controllers require a minimum interval
  102. between I2C bus accesses. According to Intersil, the minimum interval is 2 ms,
  103. though 1 ms appears to be sufficient and has not caused any problems in testing.
  104. The problem is known to affect all currently supported chips. For manual override,
  105. the driver provides a writeable module parameter, 'delay', which can be used
  106. to set the interval to a value between 0 and 65,535 microseconds.
  107. Sysfs entries
  108. -------------
  109. The following attributes are supported. Limits are read-write; all other
  110. attributes are read-only.
  111. ======================= ========================================================
  112. in1_label "vin"
  113. in1_input Measured input voltage.
  114. in1_min Minimum input voltage.
  115. in1_max Maximum input voltage.
  116. in1_lcrit Critical minimum input voltage.
  117. in1_crit Critical maximum input voltage.
  118. in1_min_alarm Input voltage low alarm.
  119. in1_max_alarm Input voltage high alarm.
  120. in1_lcrit_alarm Input voltage critical low alarm.
  121. in1_crit_alarm Input voltage critical high alarm.
  122. in2_label "vmon"
  123. in2_input Measured voltage on VMON (ZL2004) or VDRV (ZL9101M,
  124. ZL9117M) pin. Reported voltage is 16x the voltage on the
  125. pin (adjusted internally by the chip).
  126. in2_lcrit Critical minimum VMON/VDRV Voltage.
  127. in2_crit Critical maximum VMON/VDRV voltage.
  128. in2_lcrit_alarm VMON/VDRV voltage critical low alarm.
  129. in2_crit_alarm VMON/VDRV voltage critical high alarm.
  130. vmon attributes are supported on ZL2004, ZL8802,
  131. ZL9101M, ZL9117M and ZLS4009 only.
  132. inX_label "vout[12]"
  133. inX_input Measured output voltage.
  134. inX_lcrit Critical minimum output Voltage.
  135. inX_crit Critical maximum output voltage.
  136. inX_lcrit_alarm Critical output voltage critical low alarm.
  137. inX_crit_alarm Critical output voltage critical high alarm.
  138. X is 3 for ZL2004, ZL9101M, and ZL9117M,
  139. 3, 4 for ZL8802 and 2 otherwise.
  140. curr1_label "iin"
  141. curr1_input Measured input current.
  142. iin attributes are supported on ZL8802 only
  143. currY_label "iout[12]"
  144. currY_input Measured output current.
  145. currY_lcrit Critical minimum output current.
  146. currY_crit Critical maximum output current.
  147. currY_lcrit_alarm Output current critical low alarm.
  148. currY_crit_alarm Output current critical high alarm.
  149. Y is 2, 3 for ZL8802, 1 otherwise
  150. temp[12]_input Measured temperature.
  151. temp[12]_min Minimum temperature.
  152. temp[12]_max Maximum temperature.
  153. temp[12]_lcrit Critical low temperature.
  154. temp[12]_crit Critical high temperature.
  155. temp[12]_min_alarm Chip temperature low alarm.
  156. temp[12]_max_alarm Chip temperature high alarm.
  157. temp[12]_lcrit_alarm Chip temperature critical low alarm.
  158. temp[12]_crit_alarm Chip temperature critical high alarm.
  159. ======================= ========================================================