Path: blob/master/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1# Copyright 2020 Analog Devices Inc.2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/dac/adi,ad5766.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analog Devices AD5766 DAC device driver89maintainers:10- Nuno Sá <nuno.sa@analog.com>1112description: |13Bindings for the Analog Devices AD5766 current DAC device. Datasheet can be14found here:15https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf1617properties:18compatible:19enum:20- adi,ad576621- adi,ad57672223output-range-microvolts:24$ref: /schemas/types.yaml#/definitions/int32-array25maxItems: 226description: Select converter output range.2728reg:29maxItems: 13031spi-max-frequency:32maximum: 10000003334spi-cpol: true3536reset-gpios:37description: GPIO spec for the RESET pin. As the line is active low, it38should be marked GPIO_ACTIVE_LOW.39maxItems: 14041required:42- compatible43- output-range-microvolts44- reg45- spi-max-frequency46- spi-cpol4748additionalProperties: false4950examples:51- |52spi {53#address-cells = <1>;54#size-cells = <0>;5556ad5766@0 {57compatible = "adi,ad5766";58output-range-microvolts = <(-5000000) 5000000>;59reg = <0>;60spi-cpol;61spi-max-frequency = <1000000>;62reset-gpios = <&gpio 22 0>;63};64};656667