Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ad4851.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright 2024 Analog Devices Inc.2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/adi,ad4851.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analog Devices AD485X family89maintainers:10- Sergiu Cuciurean <sergiu.cuciurean@analog.com>11- Dragos Bogdan <dragos.bogdan@analog.com>12- Antoniu Miclaus <antoniu.miclaus@analog.com>1314description: |15Analog Devices AD485X fully buffered, 8-channel simultaneous sampling,1616/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide17common-mode range inputs.1819https://www.analog.com/media/en/technical-documentation/data-sheets/ad4855.pdf20https://www.analog.com/media/en/technical-documentation/data-sheets/ad4856.pdf21https://www.analog.com/media/en/technical-documentation/data-sheets/ad4857.pdf22https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.pdf2324$ref: /schemas/spi/spi-peripheral-props.yaml#2526properties:27compatible:28enum:29- adi,ad485130- adi,ad485231- adi,ad485332- adi,ad485433- adi,ad485534- adi,ad485635- adi,ad485736- adi,ad485837- adi,ad4858i3839reg:40maxItems: 14142vcc-supply: true4344vee-supply: true4546vdd-supply: true4748vddh-supply: true4950vddl-supply: true5152vio-supply: true5354vrefbuf-supply: true5556vrefio-supply: true5758pwms:59description: PWM connected to the CNV pin.60maxItems: 16162io-backends:63maxItems: 16465pd-gpios:66maxItems: 16768spi-max-frequency:69maximum: 250000007071spi-3wire: true7273'#address-cells':74const: 17576'#size-cells':77const: 07879patternProperties:80"^channel(@[0-7])?$":81$ref: adc.yaml82type: object83description: Represents the channels which are connected to the ADC.8485properties:86reg:87description:88The channel number, as specified in the datasheet (from 0 to 7).89minimum: 090maximum: 79192diff-channels:93description:94Each channel can be configured as a bipolar differential channel.95The ADC uses the same positive and negative inputs for this.96This property must be specified as 'reg' (or the channel number) for97both positive and negative inputs (i.e. diff-channels = <reg reg>).98Since the configuration is bipolar differential, the 'bipolar'99property is required.100items:101minimum: 0102maximum: 7103104bipolar: true105106required:107- reg108109additionalProperties: false110111required:112- compatible113- reg114- vcc-supply115- vee-supply116- vdd-supply117- vio-supply118- pwms119120unevaluatedProperties: false121122examples:123- |124spi {125#address-cells = <1>;126#size-cells = <0>;127128adc@0{129#address-cells = <1>;130#size-cells = <0>;131compatible = "adi,ad4858";132reg = <0>;133spi-max-frequency = <10000000>;134vcc-supply = <&vcc>;135vdd-supply = <&vdd>;136vee-supply = <&vee>;137vddh-supply = <&vddh>;138vddl-supply = <&vddl>;139vio-supply = <&vio>;140pwms = <&pwm_gen 0 0>;141io-backends = <&iio_backend>;142143channel@0 {144reg = <0>;145diff-channels = <0 0>;146bipolar;147};148149channel@1 {150reg = <1>;151};152};153};154...155156157