^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver lm25066
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * TI LM25056
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'lm25056'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheets:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) https://www.ti.com/lit/gpn/lm25056
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) https://www.ti.com/lit/gpn/lm25056a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * National Semiconductor LM25066
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Prefix: 'lm25066'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Datasheets:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) http://www.national.com/pf/LM/LM25066.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) http://www.national.com/pf/LM/LM25066A.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) * National Semiconductor LM5064
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Prefix: 'lm5064'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Datasheet:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) http://www.national.com/pf/LM/LM5064.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) * National Semiconductor LM5066
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Prefix: 'lm5066'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Datasheet:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) http://www.national.com/pf/LM/LM5066.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) * Texas Instruments LM5066I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Prefix: 'lm5066i'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Datasheet:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) https://www.ti.com/product/LM5066I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Author: Guenter Roeck <linux@roeck-us.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) This driver supports hardware monitoring for National Semiconductor / TI LM25056,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Control, and Protection ICs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) The driver is a client driver to the core PMBus driver. Please see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Usage Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) This driver does not auto-detect devices. You will have to instantiate the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Platform data support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) ---------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) The driver supports standard PMBus driver platform data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) Sysfs entries
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) The following attributes are supported. Limits are read-write; all other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) attributes are read-only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) in1_label "vin"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) in1_input Measured input voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) in1_average Average measured input voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) in1_min Minimum input voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) in1_max Maximum input voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) in1_min_alarm Input voltage low alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) in1_max_alarm Input voltage high alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) in2_label "vmon"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) in2_input Measured voltage on VAUX pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) in2_min Minimum VAUX voltage (LM25056 only).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) in2_max Maximum VAUX voltage (LM25056 only).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) in2_min_alarm VAUX voltage low alarm (LM25056 only).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) in2_max_alarm VAUX voltage high alarm (LM25056 only).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) in3_label "vout1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) Not supported on LM25056.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) in3_input Measured output voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) in3_average Average measured output voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) in3_min Minimum output voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) in3_min_alarm Output voltage low alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) curr1_label "iin"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) curr1_input Measured input current.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) curr1_average Average measured input current.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) curr1_max Maximum input current.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) curr1_max_alarm Input current high alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) power1_label "pin"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) power1_input Measured input power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) power1_average Average measured input power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) power1_max Maximum input power limit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) power1_alarm Input power alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) power1_input_highest Historical maximum power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) power1_reset_history Write any value to reset maximum power history.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) temp1_input Measured temperature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) temp1_max Maximum temperature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) temp1_crit Critical high temperature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) temp1_max_alarm Chip temperature high alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) temp1_crit_alarm Chip temperature critical high alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) ======================= =======================================================