Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/adc/gehc,pmc-adc.yaml
26309 views
1
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/adc/gehc,pmc-adc.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: GE HealthCare PMC Analog to Digital Converter (ADC)
8
9
maintainers:
10
- Herve Codina <herve.codina@bootlin.com>
11
12
description:
13
The GE HealthCare PMC ADC is a 16-Channel (voltage and current), 16-Bit ADC
14
with an I2C Interface.
15
16
properties:
17
compatible:
18
const: gehc,pmc-adc
19
20
reg:
21
maxItems: 1
22
23
vdd-supply:
24
description:
25
Regulator for the VDD power supply.
26
27
vdda-supply:
28
description:
29
Regulator for the VDD analog (VDDA) power supply.
30
31
vddio-supply:
32
description:
33
Regulator for the VDD IO (VDDIO) power supply.
34
35
vref-supply:
36
description:
37
Regulator for the voltage reference power supply.
38
39
clocks:
40
maxItems: 1
41
description:
42
The component uses an external oscillator (osc) if an external oscillator
43
is connected to its clock pins. Otherwise, it uses an internal reference
44
clock.
45
46
clock-names:
47
items:
48
- const: osc
49
50
"#io-channel-cells":
51
const: 2
52
description: |
53
The first cell is the channel type (dt-bindings/iio/adc/gehc,pmc-adc.h
54
defines these values):
55
- 0: voltage
56
- 1: current
57
The second cell is the channel number from 0 to 15.
58
59
required:
60
- compatible
61
- reg
62
- vdd-supply
63
- vdda-supply
64
- vddio-supply
65
- vref-supply
66
- '#io-channel-cells'
67
68
additionalProperties: false
69
70
examples:
71
- |
72
i2c {
73
#address-cells = <1>;
74
#size-cells = <0>;
75
76
adc@14 {
77
compatible = "gehc,pmc-adc";
78
reg = <0x14>;
79
vdd-supply = <&reg_vdd>;
80
vdda-supply = <&reg_vdda>;
81
vddio-supply = <&reg_vddio>;
82
vref-supply = <&reg_vref>;
83
#io-channel-cells = <2>;
84
};
85
};
86
...
87
88