1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Linear Technology / Analog Devices LTC2496 ADC 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Lars-Peter Clausen <lars@metafoo.de> 11c66ec88fSEmmanuel Vadot - Michael Hennerich <Michael.Hennerich@analog.com> 12c66ec88fSEmmanuel Vadot - Stefan Popa <stefan.popa@analog.com> 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadotproperties: 15c66ec88fSEmmanuel Vadot compatible: 16c66ec88fSEmmanuel Vadot enum: 17c66ec88fSEmmanuel Vadot - lltc,ltc2496 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot vref-supply: 205def4c47SEmmanuel Vadot description: Power supply for the reference voltage 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot reg: 235def4c47SEmmanuel Vadot maxItems: 1 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadotrequired: 26c66ec88fSEmmanuel Vadot - compatible 27c66ec88fSEmmanuel Vadot - vref-supply 28c66ec88fSEmmanuel Vadot - reg 29c66ec88fSEmmanuel Vadot 30*7ef62cebSEmmanuel VadotallOf: 31*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 32*7ef62cebSEmmanuel Vadot 33*7ef62cebSEmmanuel VadotunevaluatedProperties: false 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadotexamples: 36c66ec88fSEmmanuel Vadot - | 37c66ec88fSEmmanuel Vadot spi { 38c66ec88fSEmmanuel Vadot #address-cells = <1>; 39c66ec88fSEmmanuel Vadot #size-cells = <0>; 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot adc@0 { 42c66ec88fSEmmanuel Vadot compatible = "lltc,ltc2496"; 43c66ec88fSEmmanuel Vadot reg = <0>; 44c66ec88fSEmmanuel Vadot vref-supply = <<c2496_reg>; 45c66ec88fSEmmanuel Vadot spi-max-frequency = <2000000>; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot }; 48