Skip to content

Commit 44dac15

Browse files
dt-bindings: iio: adc: Add MAX14001
Add device-tree documentation for MAX14001/MAX14002 ADCs. The MAX14001/MAX14002 are isolated, single-channel analog-to-digital converters with programmable voltage comparators and inrush current control optimized for configurable binary input applications. Signed-off-by: Marilene Andrade Garcia <[email protected]>
1 parent 12dc08f commit 44dac15

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
# Copyright 2025 Marilene Andrade Garcia
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/iio/adc/adi,max14001.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices MAX14001-MAX14002 10-bit ADCs
9+
10+
maintainers:
11+
- Marilene Andrade Garcia <[email protected]>
12+
13+
description:
14+
Bindings for the Analog Devices MAX14001-MAX14002 Configurable,
15+
Isolated 10-bit ADCs for Multi-Range Binary Inputs.
16+
17+
Datasheet can be found here
18+
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX14001-MAX14002.pdf
19+
20+
$ref: /schemas/spi/spi-peripheral-props.yaml#
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- adi,max14001
26+
- adi,max14002
27+
28+
reg:
29+
maxItems: 1
30+
31+
vdd-supply:
32+
description:
33+
Isolated DC-DC power supply input voltage.
34+
35+
vddl-supply:
36+
description:
37+
Logic power supply.
38+
39+
vrefin-supply:
40+
description:
41+
ADC voltage reference supply.
42+
43+
interrupts:
44+
items:
45+
- description: |
46+
Interrupt for signaling when conversion results exceed the configured
47+
upper threshold for ADC readings or fall below the lower threshold for
48+
them. Interrupt source must be attached to COUT pin.
49+
- description: |
50+
Alert output that asserts low during a number of different error
51+
conditions. The interrupt source must be attached to FAULT pin.
52+
53+
spi-max-frequency:
54+
maximum: 5000000
55+
56+
required:
57+
- compatible
58+
- reg
59+
- vdd-supply
60+
- vddl-supply
61+
62+
unevaluatedProperties: false
63+
64+
examples:
65+
- |
66+
spi {
67+
#address-cells = <1>;
68+
#size-cells = <0>;
69+
70+
max14001: adc@0 {
71+
compatible = "adi,max14001";
72+
reg = <0>;
73+
spi-max-frequency = <5000000>;
74+
vdd-supply = <&vdd>;
75+
vddl-supply = <&vddl>;
76+
};
77+
};
78+
...

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13122,6 +13122,13 @@ W: https://ez.analog.com/linux-software-drivers
1312213122
F: Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml
1312313123
F: drivers/iio/adc/max11205.c
1312413124

13125+
MAXIM MAX14001/MAX14002 DRIVER
13126+
M: Marilene Andrade Garcia <[email protected]>
13127+
13128+
S: Maintained
13129+
W: https://ez.analog.com/linux-software-drivers
13130+
F: Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
13131+
1312513132
MAXIM MAX17040 FAMILY FUEL GAUGE DRIVERS
1312613133
R: Iskren Chernev <[email protected]>
1312713134
R: Krzysztof Kozlowski <[email protected]>

0 commit comments

Comments
 (0)