Skip to content

Commit 9432dff

Browse files
committed
dt-bindings: iio: adc: ad7768-1: add new supported parts and properties
Add compatibles for supported parts in the ad7768-1 family: ADAQ7767-1, ADAQ7768-1 and ADAQ7769-1 Add new properties: adi,low-latency and adi,gain-milli Signed-off-by: jonathanns <[email protected]>
1 parent 9a4ca47 commit 9432dff

File tree

1 file changed

+37
-4
lines changed

1 file changed

+37
-4
lines changed

Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml

+37-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
# SPDX-License-Identifier: GPL-2.0
2+
# Copyright 2024 Analog Devices Inc.
23
%YAML 1.2
34
---
45
$id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml#
56
$schema: http://devicetree.org/meta-schemas/core.yaml#
67

7-
title: Analog Devices AD7768-1 ADC device driver
8+
title: Analog Devices AD7768-1 ADC family device driver
89

910
maintainers:
1011
- Michael Hennerich <[email protected]>
12+
- Jonathan Santos <[email protected]>
1113

1214
description: |
13-
Datasheet at:
14-
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
15+
Analog Devices AD7768-1 24-Bit Single Channel Low Power sigma-delta ADC family
16+
17+
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
18+
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7767-1.pdf
19+
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7768-1.pdf
20+
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7769-1.pdf
1521
1622
properties:
1723
compatible:
18-
const: adi,ad7768-1
24+
enum:
25+
- adi,ad7768-1
26+
- adi,adaq7767-1
27+
- adi,adaq7768-1
28+
- adi,adaq7769-1
1929

2030
reg:
2131
maxItems: 1
@@ -39,6 +49,27 @@ properties:
3949
description:
4050
ADC reference voltage supply
4151

52+
adi,low-latency:
53+
description: |
54+
Enables reaching the maximum data rate, using Sinc5 Dec8 filter.
55+
56+
0 - Maximum sample rate of 512 KSPS. The user can select different filters,
57+
except for the Sinc5 Dec8. Samples have 24-bit precision.
58+
1 - Sample rate is fixed at 1.024 MSPS. The filter is locked to Sinc5 Dec8,
59+
and the user cannot choose another filter. Samples have 16-bit precision,
60+
necessary for achieving the maximum sample rate.
61+
enum: [0, 1]
62+
63+
adi,gain-milli:
64+
description: |
65+
Specifies the analog anti-aliasing filter (AAF) gain applied
66+
to the ADC input, in milli-units. Required for ADAQ7767-1 and
67+
ADAQ7769-1 devices, the gain is determined by the pin selection
68+
(IN1, IN2, IN3) on the ADAQ7767-1 or the connections of OUT_PGA
69+
with IN1_AAF, IN2_AAF, or IN3_AAF on the ADAQ7769-1.
70+
$ref: /schemas/types.yaml#/definitions/uint16
71+
enum: [143, 364, 1000]
72+
4273
adi,sync-in-gpios:
4374
maxItems: 1
4475
description:
@@ -66,6 +97,7 @@ required:
6697
- spi-cpol
6798
- spi-cpha
6899
- adi,sync-in-gpios
100+
- adi,low-latency
69101

70102
patternProperties:
71103
"^channel@([0-9]|1[0-5])$":
@@ -105,6 +137,7 @@ examples:
105137
spi-max-frequency = <2000000>;
106138
spi-cpol;
107139
spi-cpha;
140+
adi,low-latency = <0>
108141
vref-supply = <&adc_vref>;
109142
interrupts = <25 IRQ_TYPE_EDGE_RISING>;
110143
interrupt-parent = <&gpio>;

0 commit comments

Comments
 (0)