Skip to content

Commit d64a908

Browse files
committed
dt-bindings: hwmon: adi,max31827: add MAX31875
Add max31875 to documentation for devicetree bindings Signed-off-by: John Erasmus Mari Geronimo <[email protected]>
1 parent ff26ad5 commit d64a908

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

Documentation/devicetree/bindings/hwmon/adi,max31827.yaml

+22-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@
44
$id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
7+
title: Analog Devices MAX31827, MAX31828, MAX31829, MAX31875 Low-Power Temperature Switch
88

99
maintainers:
10-
- Daniel Matyas <daniel.matyas@analog.com>
10+
- John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
1111

1212
description: |
1313
Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with
1414
I2C Interface
1515
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf
1616
17+
Analog Devices MAX31875 Low-Power I2C Temperature Sensor in WLP Package
18+
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31875.pdf
19+
1720
properties:
1821
compatible:
1922
oneOf:
@@ -22,6 +25,7 @@ properties:
2225
- enum:
2326
- adi,max31828
2427
- adi,max31829
28+
- adi,max31875
2529
- const: adi,max31827
2630

2731
reg:
@@ -52,7 +56,7 @@ properties:
5256
overtemperature or undertemperature faults are indicated in the
5357
corresponding status bits.
5458
$ref: /schemas/types.yaml#/definitions/uint32
55-
enum: [1, 2, 4, 8]
59+
enum: [1, 2, 4, 6, 8]
5660

5761
adi,timeout-enable:
5862
description:
@@ -93,6 +97,21 @@ allOf:
9397
adi,fault-q:
9498
default: 4
9599

100+
- if:
101+
properties:
102+
compatible:
103+
contains:
104+
const: adi,max31875
105+
106+
then:
107+
properties:
108+
adi,fault-q:
109+
enum: [1, 2, 4, 6]
110+
111+
else:
112+
properties:
113+
adi,fault-q:
114+
enum: [1, 2, 4, 8]
96115

97116
required:
98117
- compatible

0 commit comments

Comments
 (0)