Path: blob/master/Documentation/devicetree/bindings/iio/adc/gehc,pmc-adc.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/adc/gehc,pmc-adc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: GE HealthCare PMC Analog to Digital Converter (ADC)78maintainers:9- Herve Codina <herve.codina@bootlin.com>1011description:12The GE HealthCare PMC ADC is a 16-Channel (voltage and current), 16-Bit ADC13with an I2C Interface.1415properties:16compatible:17const: gehc,pmc-adc1819reg:20maxItems: 12122vdd-supply:23description:24Regulator for the VDD power supply.2526vdda-supply:27description:28Regulator for the VDD analog (VDDA) power supply.2930vddio-supply:31description:32Regulator for the VDD IO (VDDIO) power supply.3334vref-supply:35description:36Regulator for the voltage reference power supply.3738clocks:39maxItems: 140description:41The component uses an external oscillator (osc) if an external oscillator42is connected to its clock pins. Otherwise, it uses an internal reference43clock.4445clock-names:46items:47- const: osc4849"#io-channel-cells":50const: 251description: |52The first cell is the channel type (dt-bindings/iio/adc/gehc,pmc-adc.h53defines these values):54- 0: voltage55- 1: current56The second cell is the channel number from 0 to 15.5758required:59- compatible60- reg61- vdd-supply62- vdda-supply63- vddio-supply64- vref-supply65- '#io-channel-cells'6667additionalProperties: false6869examples:70- |71i2c {72#address-cells = <1>;73#size-cells = <0>;7475adc@14 {76compatible = "gehc,pmc-adc";77reg = <0x14>;78vdd-supply = <®_vdd>;79vdda-supply = <®_vdda>;80vddio-supply = <®_vddio>;81vref-supply = <®_vref>;82#io-channel-cells = <2>;83};84};85...868788