16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/ti,adc128s052.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: Texas Instruments ADC128S052 and similar ADCs 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Angelo Compagnucci <angelo.compagnucci@gmail.com> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: | 136be33864SEmmanuel Vadot Family of 12 bit SPI ADCs with 2 to 8 channels with a range of different 146be33864SEmmanuel Vadot target sample rates. 156be33864SEmmanuel Vadot 166be33864SEmmanuel Vadotproperties: 176be33864SEmmanuel Vadot compatible: 186be33864SEmmanuel Vadot enum: 196be33864SEmmanuel Vadot - ti,adc122s021 206be33864SEmmanuel Vadot - ti,adc122s051 216be33864SEmmanuel Vadot - ti,adc122s101 226be33864SEmmanuel Vadot - ti,adc124s021 236be33864SEmmanuel Vadot - ti,adc124s051 246be33864SEmmanuel Vadot - ti,adc124s101 256be33864SEmmanuel Vadot - ti,adc128s052 266be33864SEmmanuel Vadot 276be33864SEmmanuel Vadot reg: 286be33864SEmmanuel Vadot maxItems: 1 296be33864SEmmanuel Vadot 306be33864SEmmanuel Vadot vref-supply: true 316be33864SEmmanuel Vadot 326be33864SEmmanuel Vadot "#io-channel-cells": 336be33864SEmmanuel Vadot const: 1 346be33864SEmmanuel Vadot 356be33864SEmmanuel Vadotrequired: 366be33864SEmmanuel Vadot - compatible 376be33864SEmmanuel Vadot - reg 386be33864SEmmanuel Vadot - vref-supply 396be33864SEmmanuel Vadot 40*7ef62cebSEmmanuel VadotallOf: 41*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 42*7ef62cebSEmmanuel Vadot 43*7ef62cebSEmmanuel VadotunevaluatedProperties: false 446be33864SEmmanuel Vadot 456be33864SEmmanuel Vadotexamples: 466be33864SEmmanuel Vadot - | 476be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 486be33864SEmmanuel Vadot spi { 496be33864SEmmanuel Vadot #address-cells = <1>; 506be33864SEmmanuel Vadot #size-cells = <0>; 516be33864SEmmanuel Vadot 526be33864SEmmanuel Vadot adc@0 { 536be33864SEmmanuel Vadot compatible = "ti,adc128s052"; 546be33864SEmmanuel Vadot reg = <0>; 556be33864SEmmanuel Vadot vref-supply = <&vdd_supply>; 566be33864SEmmanuel Vadot spi-max-frequency = <1000000>; 576be33864SEmmanuel Vadot #io-channel-cells = <1>; 586be33864SEmmanuel Vadot }; 596be33864SEmmanuel Vadot }; 606be33864SEmmanuel Vadot... 61