1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*7ef62cebSEmmanuel Vadot%YAML 1.2 3*7ef62cebSEmmanuel Vadot--- 4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml# 5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7ef62cebSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Maxim MAX11205 ADC 8*7ef62cebSEmmanuel Vadot 9*7ef62cebSEmmanuel Vadotmaintainers: 10*7ef62cebSEmmanuel Vadot - Ramona Bolboaca <ramona.bolboaca@analog.com> 11*7ef62cebSEmmanuel Vadot 12*7ef62cebSEmmanuel Vadotdescription: | 13*7ef62cebSEmmanuel Vadot The MAX11205 is an ultra-low-power (< 300FA max active current), 14*7ef62cebSEmmanuel Vadot high-resolution, serial-output ADC. 15*7ef62cebSEmmanuel Vadot 16*7ef62cebSEmmanuel Vadot https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf 17*7ef62cebSEmmanuel Vadot 18*7ef62cebSEmmanuel VadotallOf: 19*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 20*7ef62cebSEmmanuel Vadot 21*7ef62cebSEmmanuel Vadotproperties: 22*7ef62cebSEmmanuel Vadot compatible: 23*7ef62cebSEmmanuel Vadot enum: 24*7ef62cebSEmmanuel Vadot - maxim,max11205a 25*7ef62cebSEmmanuel Vadot - maxim,max11205b 26*7ef62cebSEmmanuel Vadot 27*7ef62cebSEmmanuel Vadot reg: 28*7ef62cebSEmmanuel Vadot maxItems: 1 29*7ef62cebSEmmanuel Vadot 30*7ef62cebSEmmanuel Vadot interrupts: 31*7ef62cebSEmmanuel Vadot maxItems: 1 32*7ef62cebSEmmanuel Vadot 33*7ef62cebSEmmanuel Vadot spi-max-frequency: 34*7ef62cebSEmmanuel Vadot maximum: 5000000 35*7ef62cebSEmmanuel Vadot 36*7ef62cebSEmmanuel Vadot spi-cpha: true 37*7ef62cebSEmmanuel Vadot 38*7ef62cebSEmmanuel Vadot vref-supply: 39*7ef62cebSEmmanuel Vadot description: 40*7ef62cebSEmmanuel Vadot The regulator supply for the ADC reference voltage. This is a differential 41*7ef62cebSEmmanuel Vadot reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V. 42*7ef62cebSEmmanuel Vadot 43*7ef62cebSEmmanuel Vadotrequired: 44*7ef62cebSEmmanuel Vadot - compatible 45*7ef62cebSEmmanuel Vadot - reg 46*7ef62cebSEmmanuel Vadot - interrupts 47*7ef62cebSEmmanuel Vadot - spi-max-frequency 48*7ef62cebSEmmanuel Vadot - spi-cpha 49*7ef62cebSEmmanuel Vadot - vref-supply 50*7ef62cebSEmmanuel Vadot 51*7ef62cebSEmmanuel VadotunevaluatedProperties: false 52*7ef62cebSEmmanuel Vadot 53*7ef62cebSEmmanuel Vadotexamples: 54*7ef62cebSEmmanuel Vadot - | 55*7ef62cebSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 56*7ef62cebSEmmanuel Vadot spi { 57*7ef62cebSEmmanuel Vadot #address-cells = <1>; 58*7ef62cebSEmmanuel Vadot #size-cells = <0>; 59*7ef62cebSEmmanuel Vadot adc@0 { 60*7ef62cebSEmmanuel Vadot compatible = "maxim,max11205a"; 61*7ef62cebSEmmanuel Vadot reg = <0>; 62*7ef62cebSEmmanuel Vadot spi-max-frequency = <5000000>; 63*7ef62cebSEmmanuel Vadot spi-cpha; 64*7ef62cebSEmmanuel Vadot interrupt-parent = <&gpio>; 65*7ef62cebSEmmanuel Vadot interrupts = <19 IRQ_TYPE_EDGE_FALLING>; 66*7ef62cebSEmmanuel Vadot vref-supply = <&max11205_vref>; 67*7ef62cebSEmmanuel Vadot }; 68*7ef62cebSEmmanuel Vadot }; 69*7ef62cebSEmmanuel Vadot... 70