xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/max6697.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmax6697 properties
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible:
5*4882a593Smuzhiyun	Should be one of
6*4882a593Smuzhiyun		maxim,max6581
7*4882a593Smuzhiyun		maxim,max6602
8*4882a593Smuzhiyun		maxim,max6622
9*4882a593Smuzhiyun		maxim,max6636
10*4882a593Smuzhiyun		maxim,max6689
11*4882a593Smuzhiyun		maxim,max6693
12*4882a593Smuzhiyun		maxim,max6694
13*4882a593Smuzhiyun		maxim,max6697
14*4882a593Smuzhiyun		maxim,max6698
15*4882a593Smuzhiyun		maxim,max6699
16*4882a593Smuzhiyun- reg: I2C address
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunOptional properties:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- smbus-timeout-disable
21*4882a593Smuzhiyun	Set to disable SMBus timeout. If not specified, SMBus timeout will be
22*4882a593Smuzhiyun	enabled.
23*4882a593Smuzhiyun- extended-range-enable
24*4882a593Smuzhiyun	Only valid for MAX6581. Set to enable extended temperature range.
25*4882a593Smuzhiyun	Extended temperature will be disabled if not specified.
26*4882a593Smuzhiyun- beta-compensation-enable
27*4882a593Smuzhiyun	Only valid for MAX6693 and MX6694. Set to enable beta compensation on
28*4882a593Smuzhiyun	remote temperature channel 1.
29*4882a593Smuzhiyun	Beta compensation will be disabled if not specified.
30*4882a593Smuzhiyun- alert-mask
31*4882a593Smuzhiyun	Alert bit mask. Alert disabled for bits set.
32*4882a593Smuzhiyun	Select bit 0 for local temperature, bit 1..7 for remote temperatures.
33*4882a593Smuzhiyun	If not specified, alert will be enabled for all channels.
34*4882a593Smuzhiyun- over-temperature-mask
35*4882a593Smuzhiyun	Over-temperature bit mask. Over-temperature reporting disabled for
36*4882a593Smuzhiyun	bits set.
37*4882a593Smuzhiyun	Select bit 0 for local temperature, bit 1..7 for remote temperatures.
38*4882a593Smuzhiyun	If not specified, over-temperature reporting will be enabled for all
39*4882a593Smuzhiyun	channels.
40*4882a593Smuzhiyun- resistance-cancellation
41*4882a593Smuzhiyun	Boolean for all chips other than MAX6581. Set to enable resistance
42*4882a593Smuzhiyun	cancellation on remote temperature channel 1.
43*4882a593Smuzhiyun	For MAX6581, resistance cancellation enabled for all channels if
44*4882a593Smuzhiyun	specified as boolean, otherwise as per bit mask specified.
45*4882a593Smuzhiyun	Only supported for remote temperatures (bit 1..7).
46*4882a593Smuzhiyun	If not specified, resistance cancellation will be disabled for all
47*4882a593Smuzhiyun	channels.
48*4882a593Smuzhiyun- transistor-ideality
49*4882a593Smuzhiyun	For MAX6581 only. Two values; first is bit mask, second is ideality
50*4882a593Smuzhiyun	select value as per MAX6581 data sheet. Select bit 1..7 for remote
51*4882a593Smuzhiyun	channels.
52*4882a593Smuzhiyun	Transistor ideality will be initialized to default (1.008) if not
53*4882a593Smuzhiyun	specified.
54*4882a593Smuzhiyun
55*4882a593SmuzhiyunExample:
56*4882a593Smuzhiyun
57*4882a593Smuzhiyuntemp-sensor@1a {
58*4882a593Smuzhiyun	compatible = "maxim,max6697";
59*4882a593Smuzhiyun	reg = <0x1a>;
60*4882a593Smuzhiyun	smbus-timeout-disable;
61*4882a593Smuzhiyun	resistance-cancellation;
62*4882a593Smuzhiyun	alert-mask = <0x72>;
63*4882a593Smuzhiyun	over-temperature-mask = <0x7f>;
64*4882a593Smuzhiyun};
65