Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
38303 views
1
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
# Copyright 2023-2025 Analog Devices Inc.
3
# Copyright 2023 Kim Seer Paller
4
# Copyright 2025 Marilene Andrade Garcia
5
%YAML 1.2
6
---
7
$id: http://devicetree.org/schemas/iio/adc/adi,max14001.yaml#
8
$schema: http://devicetree.org/meta-schemas/core.yaml#
9
10
title: Analog Devices MAX14001-MAX14002 ADC
11
12
maintainers:
13
- Kim Seer Paller <kimseer.paller@analog.com>
14
- Marilene Andrade Garcia <marilene.agarcia@gmail.com>
15
16
description: |
17
Single channel 10 bit ADC with SPI interface.
18
Datasheet can be found here
19
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX14001-MAX14002.pdf
20
21
$ref: /schemas/spi/spi-peripheral-props.yaml#
22
23
properties:
24
compatible:
25
oneOf:
26
- const: adi,max14002
27
- items:
28
- const: adi,max14001
29
- const: adi,max14002
30
31
reg:
32
maxItems: 1
33
34
spi-max-frequency:
35
maximum: 5000000
36
37
vdd-supply:
38
description:
39
Isolated DC-DC power supply input voltage.
40
41
vddl-supply:
42
description:
43
Logic power supply.
44
45
refin-supply:
46
description:
47
ADC voltage reference supply.
48
49
interrupts:
50
minItems: 1
51
items:
52
- description: |
53
cout: comparator output signal that asserts high on the COUT pin
54
when ADC readings exceed the upper threshold and low when readings
55
fall below the lower threshold.
56
- description: |
57
fault: when fault reporting is enabled, the FAULT pin is asserted
58
low whenever one of the monitored fault conditions occurs.
59
60
interrupt-names:
61
minItems: 1
62
items:
63
- const: cout
64
- const: fault
65
66
required:
67
- compatible
68
- reg
69
- vdd-supply
70
- vddl-supply
71
72
unevaluatedProperties: false
73
74
examples:
75
- |
76
spi {
77
#address-cells = <1>;
78
#size-cells = <0>;
79
80
adc@0 {
81
compatible = "adi,max14001", "adi,max14002";
82
reg = <0>;
83
spi-max-frequency = <5000000>;
84
spi-lsb-first;
85
vdd-supply = <&vdd>;
86
vddl-supply = <&vddl>;
87
};
88
};
89
...
90
91