Skip to content

Commit

Permalink
dt-bindings: iio: adc: ad7768-1: add new supported parts and properties
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jonathanns committed Aug 27, 2024
1 parent adb0db4 commit 4a14e55
Showing 1 changed file with 36 additions and 4 deletions.
40 changes: 36 additions & 4 deletions Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright 2024 Analog Devices Inc.
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices AD7768-1 ADC device driver
title: Analog Devices AD7768-1 ADC family device driver

maintainers:
- Michael Hennerich <[email protected]>
- Jonathan Santos <[email protected]>

description: |
Datasheet at:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
Analog Devices AD7768-1 24-Bit Single Channel Low Power sigma-delta ADC family
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7767-1.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7768-1.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/adaq7769-1.pdf
properties:
compatible:
const: adi,ad7768-1
enum:
- adi,ad7768-1
- adi,adaq7767-1
- adi,adaq7768-1
- adi,adaq7769-1

reg:
maxItems: 1
Expand All @@ -39,6 +49,27 @@ properties:
description:
ADC reference voltage supply

adi,low-latency:
description: |
Enables reaching the maximum data rate, using Sinc5 Dec8 filter.
0 - Maximum sample rate of 512 KSPS. The user can select different filters,
except for the Sinc5 Dec8. Samples have 24-bit precision.
1 - Sample rate is fixed at 1.024 MSPS. The filter is locked to Sinc5 Dec8,
and the user cannot choose another filter. Samples have 16-bit precision,
necessary for achieving the maximum sample rate.
enum: [0, 1]

adi,gain-milli:
description: |
Specifies the analog anti-aliasing filter (AAF) gain applied
to the ADC input, in milli-units. Required for ADAQ7767-1 and
ADAQ7769-1 devices, the gain is determined by the pin selection
(IN1, IN2, IN3) on the ADAQ7767-1 or the connections of OUT_PGA
with IN1_AAF, IN2_AAF, or IN3_AAF on the ADAQ7769-1.
$ref: /schemas/types.yaml#/definitions/uint16
enum: [143, 364, 1000]

adi,sync-in-gpios:
maxItems: 1
description:
Expand Down Expand Up @@ -66,6 +97,7 @@ required:
- spi-cpol
- spi-cpha
- adi,sync-in-gpios
- adi,low-latency

patternProperties:
"^channel@([0-9]|1[0-5])$":
Expand Down

0 comments on commit 4a14e55

Please sign in to comment.