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