Path: blob/master/Documentation/devicetree/bindings/iio/dac/adi,ltc2688.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/dac/adi,ltc2688.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices LTC2688 DAC78maintainers:9- Nuno Sá <nuno.sa@analog.com>1011description: |12Analog Devices LTC2688 16 channel, 16 bit, +-15V DAC13https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2688.pdf1415properties:16compatible:17enum:18- adi,ltc26881920reg:21maxItems: 12223vcc-supply:24description: Analog Supply Voltage Input.2526iovcc-supply:27description: Digital Input/Output Supply Voltage.2829vref-supply:30description:31Reference Input/Output. The voltage at the REF pin sets the full-scale32range of all channels. If not provided the internal reference is used and33also provided on the VREF pin".3435clr-gpios:36description:37If specified, it will be asserted during driver probe. As the line is38active low, it should be marked GPIO_ACTIVE_LOW.39maxItems: 14041'#address-cells':42const: 14344'#size-cells':45const: 04647patternProperties:48"^channel@([0-9]|1[0-5])$":49type: object50additionalProperties: false5152properties:53reg:54description: The channel number representing the DAC output channel.55maximum: 155657adi,toggle-mode:58description:59Set the channel as a toggle enabled channel. Toggle operation enables60fast switching of a DAC output between two different DAC codes without61any SPI transaction.62type: boolean6364adi,output-range-microvolt:65description: Specify the channel output full scale range.66oneOf:67- items:68- const: 069- enum: [5000000, 10000000]70- items:71- const: -500000072- const: 500000073- items:74- const: -1000000075- const: 1000000076- items:77- const: -1500000078- const: 150000007980adi,overrange:81description: Enable 5% overrange over the selected full scale range.82type: boolean8384clocks:85maxItems: 18687adi,toggle-dither-input:88description:89Selects the TGPx pin to be associated with this channel. This setting90only makes sense for toggle or dither enabled channels. If91@adi,toggle-mode is not set and this property is given, the channel is92assumed to be a dither capable channel. Note that multiple channels93can be mapped to the same pin. If this setting is given, the94respective @clock must also be provided. Mappings between this and95input pins960 - TGP1971 - TGP2982 - TGP399$ref: /schemas/types.yaml#/definitions/uint32100enum: [0, 1, 2]101102dependencies:103adi,toggle-dither-input: [ clocks ]104105required:106- reg107108required:109- compatible110- reg111112additionalProperties: false113114examples:115- |116117spi {118#address-cells = <1>;119#size-cells = <0>;120ltc2688: ltc2688@0 {121compatible = "adi,ltc2688";122reg = <0>;123124vcc-supply = <&vcc>;125iovcc-supply = <&vcc>;126vref-supply = <&vref>;127128#address-cells = <1>;129#size-cells = <0>;130channel@0 {131reg = <0>;132adi,toggle-mode;133adi,overrange;134};135136channel@1 {137reg = <1>;138adi,output-range-microvolt = <0 10000000>;139140clocks = <&clock_tgp3>;141adi,toggle-dither-input = <2>;142};143};144};145146...147148149