lm25066 3.65 KB
Newer Older
1
Kernel driver lm25066
2 3 4
=====================

Supported chips:
5 6 7 8 9 10
  * TI LM25056
    Prefix: 'lm25056'
    Addresses scanned: -
    Datasheets:
	http://www.ti.com/lit/gpn/lm25056
	http://www.ti.com/lit/gpn/lm25056a
11 12 13 14 15
  * TI LM25063
    Prefix: 'lm25063'
    Addresses scanned: -
    Datasheet:
	To be announced
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  * National Semiconductor LM25066
    Prefix: 'lm25066'
    Addresses scanned: -
    Datasheets:
	http://www.national.com/pf/LM/LM25066.html
	http://www.national.com/pf/LM/LM25066A.html
  * National Semiconductor LM5064
    Prefix: 'lm5064'
    Addresses scanned: -
    Datasheet:
	http://www.national.com/pf/LM/LM5064.html
  * National Semiconductor LM5066
    Prefix: 'lm5066'
    Addresses scanned: -
    Datasheet:
	http://www.national.com/pf/LM/LM5066.html
32 33 34 35 36
  * Texas Instruments LM5066I
    Prefix: 'lm5066i'
    Addresses scanned: -
	Datasheet:
    http://www.ti.com/product/LM5066I
37

38
Author: Guenter Roeck <linux@roeck-us.net>
39 40 41 42 43


Description
-----------

44
This driver supports hardware monitoring for National Semiconductor / TI LM25056,
45 46
LM25063, LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
Control, and Protection ICs.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76

The driver is a client driver to the core PMBus driver. Please see
Documentation/hwmon/pmbus for details on PMBus client drivers.


Usage Notes
-----------

This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices for
details.


Platform data support
---------------------

The driver supports standard PMBus driver platform data.


Sysfs entries
-------------

The following attributes are supported. Limits are read-write; all other
attributes are read-only.

in1_label		"vin"
in1_input		Measured input voltage.
in1_average		Average measured input voltage.
in1_min			Minimum input voltage.
in1_max			Maximum input voltage.
77 78
in1_crit		Critical high input voltage (LM25063 only).
in1_lcrit		Critical low input voltage (LM25063 only).
79 80
in1_min_alarm		Input voltage low alarm.
in1_max_alarm		Input voltage high alarm.
81 82
in1_lcrit_alarm		Input voltage critical low alarm (LM25063 only).
in1_crit_alarm		Input voltage critical high alarm. (LM25063 only).
83

84 85
in2_label		"vmon"
in2_input		Measured voltage on VAUX pin
86 87 88 89
in2_min			Minimum VAUX voltage (LM25056 only).
in2_max			Maximum VAUX voltage (LM25056 only).
in2_min_alarm		VAUX voltage low alarm (LM25056 only).
in2_max_alarm		VAUX voltage high alarm (LM25056 only).
90 91

in3_label		"vout1"
92
			Not supported on LM25056.
93 94 95 96
in3_input		Measured output voltage.
in3_average		Average measured output voltage.
in3_min			Minimum output voltage.
in3_min_alarm		Output voltage low alarm.
97 98
in3_highest		Historical minimum output voltage (LM25063 only).
in3_lowest		Historical maximum output voltage (LM25063 only).
99 100 101 102 103

curr1_label		"iin"
curr1_input		Measured input current.
curr1_average		Average measured input current.
curr1_max		Maximum input current.
104
curr1_crit		Critical input current (LM25063 only).
105
curr1_max_alarm		Input current high alarm.
106
curr1_crit_alarm	Input current critical high alarm (LM25063 only).
107 108 109 110 111 112 113 114 115

power1_label		"pin"
power1_input		Measured input power.
power1_average		Average measured input power.
power1_max		Maximum input power limit.
power1_alarm		Input power alarm
power1_input_highest	Historical maximum power.
power1_reset_history	Write any value to reset maximum power history.

116 117 118 119 120
power2_label		"pout". LM25063 only.
power2_input		Measured output power.
power2_max		Maximum output power limit.
power2_crit		Critical output power limit.

121 122 123 124 125
temp1_input		Measured temperature.
temp1_max		Maximum temperature.
temp1_crit		Critical high temperature.
temp1_max_alarm		Chip temperature high alarm.
temp1_crit_alarm	Chip temperature critical high alarm.