Skip to content

Commit 7c95393

Browse files
committed
dt-bindings: iio: adc: add ad458x
Add devicetree bindings for ad458x DAS family. Signed-off-by: Antoniu Miclaus <[email protected]>
1 parent 13807bd commit 7c95393

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
# Copyright 2022 Analog Devices Inc.
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/iio/adc/adi,ad485x.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices AD485X DAS family device driver
9+
10+
maintainers:
11+
- Sergiu Cuciurean <[email protected]>
12+
- Dragos Bogdan <[email protected]>
13+
- Antoniu Miclaus <[email protected]>
14+
15+
description: |
16+
Analog Devices AD485X DAS family
17+
18+
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.pdf
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- adi,ad4858
24+
- adi,ad4857
25+
- adi,ad4856
26+
- adi,ad4855
27+
- adi,ad4854
28+
- adi,ad4853
29+
- adi,ad4852
30+
- adi,ad4851
31+
- adi,ad4858i
32+
33+
reg:
34+
maxItems: 1
35+
36+
vcc-supply: true
37+
38+
vdd-supply: true
39+
40+
vddh-supply: true
41+
42+
vio-supply: true
43+
44+
pwms:
45+
maxItems: 1
46+
47+
io-backends:
48+
maxItems: 1
49+
50+
spi-max-frequency:
51+
maximum: 100000000
52+
53+
required:
54+
- compatible
55+
- reg
56+
- vcc-supply
57+
- vdd-supply
58+
- vddh-supply
59+
- vio-supply
60+
- pwms
61+
62+
unevaluatedProperties: false
63+
64+
examples:
65+
- |
66+
spi {
67+
#address-cells = <1>;
68+
#size-cells = <0>;
69+
70+
adc@0{
71+
compatible = "adi,ad4858";
72+
reg = <0>;
73+
spi-max-frequency = <10000000>;
74+
vcc-supply = <&vcc>;
75+
vdd-supply = <&vdd>;
76+
vddh-supply = <&vddh>;
77+
vio-supply = <&vio>;
78+
pwms = <&pwm_gen 0 0>;
79+
io-backends = <&iio_backend>;
80+
};
81+
};
82+
...

0 commit comments

Comments
 (0)