Skip to content

Commit 373c04c

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 6ef096c commit 373c04c

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
spi-max-frequency:
33+
maximum: 10000000
34+
description: Maximum SPI frequency (Hz)
35+
36+
vddl-supply:
37+
description:
38+
Logic power supply.
39+
40+
vddpl-supply:
41+
description:
42+
Isolated DC-DC converter power supply.
43+
44+
interrupts:
45+
items:
46+
- description: |
47+
Interrupt for signaling when conversion results exceed the upper
48+
threshold for ADC readings or fall below the lower threshold. The
49+
interrupt source must be attached to one of COUT1 to COUT4 pins.
50+
- description: |
51+
Alert output that asserts low during a number of different error
52+
conditions. The interrupt source must be attached to INT pin.
53+
54+
required:
55+
- compatible
56+
- reg
57+
- vddl-supply
58+
- vddpl-supply
59+
60+
additionalProperties: false
61+
62+
examples:
63+
- |
64+
spi {
65+
#address-cells = <1>;
66+
#size-cells = <0>;
67+
68+
max22531: adc@0 {
69+
compatible = "adi,max22531";
70+
reg = <0>;
71+
spi-max-frequency = <5000000>;
72+
vddl-supply = <&vddl>;
73+
vddpl-supply = <&vddpl>;
74+
};
75+
};

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13052,6 +13052,13 @@ F: Documentation/userspace-api/media/drivers/max2175.rst
1305213052
F: drivers/media/i2c/max2175*
1305313053
F: include/uapi/linux/max2175.h
1305413054

13055+
MAX22531 ADC DRIVER
13056+
M: Abhinav Jain <jain.abhinav177@gmail.com>
13057+
L: linux-iio@vger.kernel.org
13058+
S: Maintained
13059+
W: https://ez.analog.com/linux-software-drivers
13060+
F: Documentation/devicetree/bindings/iio/adc/adi,max22531.yaml
13061+
1305513062
MAX31827 TEMPERATURE SWITCH DRIVER
1305613063
M: Daniel Matyas <daniel.matyas@analog.com>
1305713064
L: linux-hwmon@vger.kernel.org

0 commit comments

Comments
 (0)