Skip to content

Commit 180f2a9

Browse files
committed
dt-bindings: Add device tree binding for MAX22531 ADC
Add device tree documentation for MAX22530-MAX22532 family of ADCs. The MAX22530–MAX22532 are galvanically isolated, 4-channel, multiplexed, 12-bit, analog-to-digital converters (ADC) in the MAXSafe™ family product line. An integrated, isolated, DC-DC converter powers all fieldside circuitry, and this allows field-side diagnostics even when no input signal is present. Signed-off-by: Abhinav Jain <jain.abhinav177@gmail.com>
1 parent cdc9ecd commit 180f2a9

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
# Copyright 2025 Abhinav Jain
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/iio/adc/adi,max22531.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices MAX22530-MAX22532 12-bit Field Isolated ADCs
9+
10+
maintainers:
11+
- Abhinav Jain <jain.abhinav177@gmail.com>
12+
13+
description:
14+
Bindings for the Analog Devices Max22530-MAX22532 Field-Side Self-Powered,
15+
4-Channel, 12-bit, Isolated ADCs.
16+
17+
Datasheet can be found here
18+
https://www.analog.com/media/en/technical-documentation/data-sheets/max22530-max22532.pdf
19+
20+
$ref: /schemas/spi/spi-peripheral-props.yaml#
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- adi,max22530
26+
- adi,max22531
27+
- adi,max22532
28+
29+
reg:
30+
maxItems: 1
31+
32+
vddl-supply:
33+
description:
34+
Logic power supply.
35+
36+
vddpl-supply:
37+
description:
38+
Isolated DC-DC converter power supply.
39+
40+
interrupts:
41+
maxItems: 5
42+
items:
43+
- description: |
44+
Interrupt for signaling when conversion results exceed the upper
45+
threshold for ADC readings or fall below the lower threshold. The
46+
interrupt source must be attached to one of COUT1 to COUT4 pins.
47+
- description: |
48+
Alert output that asserts low during a number of different error
49+
conditions. The interrupt source must be attached to INT pin.
50+
51+
required:
52+
- compatible
53+
- reg
54+
- vddl-supply
55+
- vddpl-supply
56+
57+
examples:
58+
- |
59+
spi {
60+
#address-cells = <1>;
61+
#size-cells = <0>;
62+
63+
max22531: adc@0 {
64+
compatible = "adi,max22531";
65+
reg = <0>;
66+
spi-max-frequency = <5000000>;
67+
vddl-supply = <&vddl>;
68+
vddpl-supply = <&vddpl>;
69+
};
70+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13058,6 +13058,7 @@ L: linux-iio@vger.kernel.org
1305813058
S: Maintained
1305913059
W: https://ez.analog.com/linux-software-drivers
1306013060
F: drivers/iio/adc/max22531.c
13061+
F: Documentation/devicetree/bindings/iio/adc/adi,max22531.yaml
1306113062

1306213063
MAX31827 TEMPERATURE SWITCH DRIVER
1306313064
M: Daniel Matyas <daniel.matyas@analog.com>

0 commit comments

Comments
 (0)