-
Notifications
You must be signed in to change notification settings - Fork 845
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add devicetree bindings for ad458x DAS family. Signed-off-by: Antoniu Miclaus <[email protected]>
- Loading branch information
Showing
1 changed file
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
# Copyright 2022 Analog Devices Inc. | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/adc/adi,ad485x.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Analog Devices AD485X DAS family device driver | ||
|
||
maintainers: | ||
- Sergiu Cuciurean <[email protected]> | ||
- Dragos Bogdan <[email protected]> | ||
- Antoniu Miclaus <[email protected]> | ||
|
||
description: | | ||
Analog Devices AD485X DAS family | ||
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.pdf | ||
properties: | ||
compatible: | ||
enum: | ||
- adi,ad4858 | ||
- adi,ad4857 | ||
- adi,ad4856 | ||
- adi,ad4855 | ||
- adi,ad4854 | ||
- adi,ad4853 | ||
- adi,ad4852 | ||
- adi,ad4851 | ||
- adi,ad4858i | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vcc-supply: true | ||
|
||
vdd-supply: true | ||
|
||
vddh-supply: true | ||
|
||
vio-supply: true | ||
|
||
pwms: | ||
maxItems: 1 | ||
|
||
pwm-names: | ||
const: cnv | ||
|
||
io-backends: | ||
maxItems: 1 | ||
|
||
spi-max-frequency: | ||
maximum: 100000000 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- vcc-supply | ||
- vdd-supply | ||
- vddh-supply | ||
- vio-supply | ||
- pwms | ||
- pwm-names | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
adc@0{ | ||
compatible = "adi,ad4858"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
vcc-supply = <&vcc>; | ||
vdd-supply = <&vdd>; | ||
vddh-supply = <&vddh>; | ||
vio-supply = <&vio>; | ||
pwms = <&pwm_gen 0 0>; | ||
pwm-names = "cnv"; | ||
io-backends = <&iio_backend>; | ||
}; | ||
}; | ||
... |