File tree Expand file tree Collapse file tree 2 files changed +82
-0
lines changed
Documentation/devicetree/bindings/hwmon Expand file tree Collapse file tree 2 files changed +82
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ # Copyright 2024 Analog Devices Inc.
3
+ %YAML 1.2
4
+ ---
5
+ $id : http://devicetree.org/schemas/hwmon/adi,max31875.yaml#
6
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
7
+
8
+ title : Analog Devices MAX31875 Low-Power I2C Temperature Sensor
9
+
10
+ maintainers :
11
+ - John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
12
+
13
+ description : |
14
+ The MAX31875 is a ±1°C-accurate local temperature sensor with I2C/SMBus
15
+ interface. The combination of tiny package and excellent temperature
16
+ measurement accuracy makes this product ideal for a variety of equipment.
17
+ https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31875.pdf
18
+
19
+ properties :
20
+ compatible :
21
+ enum :
22
+ - adi,max31875
23
+
24
+ reg :
25
+ maxItems : 1
26
+
27
+ vdd-supply :
28
+ description :
29
+ Must have values in the interval (1.6V; 3.6V) in order for the device to
30
+ function correctly. Must also have regulator-name of "vref".
31
+
32
+ adi,comp-int :
33
+ description :
34
+ If present interrupt mode is used. If not present comparator mode is used
35
+ (default).
36
+ type : boolean
37
+
38
+ adi,timeout-enable :
39
+ description :
40
+ Enables timeout. Bus timeout resets the I2C-compatible interface when SCL
41
+ is low for more than 30ms (nominal).
42
+ type : boolean
43
+
44
+ adi,fault-q :
45
+ description :
46
+ Select how many consecutive overtemperature faults must occur before an
47
+ overtemperature fault is indicated in the Overtemperature Status bit.
48
+ $ref : /schemas/types.yaml#/definitions/uint8
49
+ enum : [1, 2, 4, 6]
50
+
51
+ required :
52
+ - compatible
53
+ - reg
54
+ - vdd-supply
55
+
56
+ additionalProperties : false
57
+
58
+ examples :
59
+ - |
60
+ i2c {
61
+ #address-cells = <1>;
62
+ #size-cells = <0>;
63
+ status = "okay";
64
+
65
+ temperature-sensor@48 {
66
+ compatible = "adi,max31875";
67
+ reg = <0x48>;
68
+ vdd-supply = <&vdd>;
69
+
70
+ adi,comp-int;
71
+ adi,timeout-enable;
72
+ adi,fault-q = <1>;
73
+ };
74
+ };
75
+ ...
Original file line number Diff line number Diff line change @@ -12596,6 +12596,13 @@ F: Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
12596
12596
F: Documentation/hwmon/max31827.rst
12597
12597
F: drivers/hwmon/max31827.c
12598
12598
12599
+ MAX31875 TEMPERATURE SENSOR DRIVER
12600
+ M: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
12601
+ L: linux-hwmon@vger.kernel.org
12602
+ S: Supported
12603
+ W: http://ez.analog.com/community/linux-device-drivers
12604
+ F: Documentation/devicetree/bindings/hwmon/adi,max31875.yaml
12605
+
12599
12606
MAX31335 RTC DRIVER
12600
12607
M: Antoniu Miclaus <antoniu.miclaus@analog.com>
12601
12608
L: linux-rtc@vger.kernel.org
You can’t perform that action at this time.
0 commit comments