Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/adc/adi,ad7292.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices AD7292 10-Bit Monitor and Control System78maintainers:9- Marcelo Schmitt <marcelo.schmitt1@gmail.com>1011description: |12Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs,13Temperature Sensor, and GPIOs1415Specifications about the part can be found at:16https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf1718properties:19compatible:20enum:21- adi,ad72922223reg:24maxItems: 12526vref-supply:27description: |28The regulator supply for ADC and DAC reference voltage.2930spi-cpha: true3132'#address-cells':33const: 13435'#size-cells':36const: 03738required:39- compatible40- reg41- spi-cpha4243patternProperties:44"^channel@[0-7]$":45$ref: adc.yaml46type: object47description: |48Represents the external channels which are connected to the ADC.4950properties:51reg:52description: |53The channel number. It can have up to 8 channels numbered from 0 to 7.54items:55- minimum: 056maximum: 75758diff-channels: true5960required:61- reg6263additionalProperties: false6465allOf:66- $ref: /schemas/spi/spi-peripheral-props.yaml#6768unevaluatedProperties: false6970examples:71- |72spi {73#address-cells = <1>;74#size-cells = <0>;7576ad7292: adc@0 {77compatible = "adi,ad7292";78reg = <0>;79spi-max-frequency = <25000000>;80vref-supply = <&adc_vref>;81spi-cpha;8283#address-cells = <1>;84#size-cells = <0>;8586channel@0 {87reg = <0>;88diff-channels = <0 1>;89};90channel@2 {91reg = <2>;92};93channel@3 {94reg = <3>;95};96channel@4 {97reg = <4>;98};99channel@5 {100reg = <5>;101};102channel@6 {103reg = <6>;104};105channel@7 {106reg = <7>;107};108};109};110111112