xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/lltc,ltc2632.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/lltc,ltc2632.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Linear Technology LTC263x 12-/10-/8-Bit Rail-to-Rail DAC
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
136be33864SEmmanuel Vadot  Bindings for the Linear Technology LTC2632/2634/2636 DAC
146be33864SEmmanuel Vadot  Datasheet can be found here: https://www.analog.com/media/en/technical-documentation/data-sheets/LTC263[246].pdf
156be33864SEmmanuel Vadot
166be33864SEmmanuel Vadotproperties:
176be33864SEmmanuel Vadot  compatible:
186be33864SEmmanuel Vadot    enum:
196be33864SEmmanuel Vadot      - lltc,ltc2632-l12
206be33864SEmmanuel Vadot      - lltc,ltc2632-l10
216be33864SEmmanuel Vadot      - lltc,ltc2632-l8
226be33864SEmmanuel Vadot      - lltc,ltc2632-h12
236be33864SEmmanuel Vadot      - lltc,ltc2632-h10
246be33864SEmmanuel Vadot      - lltc,ltc2632-h8
256be33864SEmmanuel Vadot      - lltc,ltc2634-l12
266be33864SEmmanuel Vadot      - lltc,ltc2634-l10
276be33864SEmmanuel Vadot      - lltc,ltc2634-l8
286be33864SEmmanuel Vadot      - lltc,ltc2634-h12
296be33864SEmmanuel Vadot      - lltc,ltc2634-h10
306be33864SEmmanuel Vadot      - lltc,ltc2634-h8
316be33864SEmmanuel Vadot      - lltc,ltc2636-l12
326be33864SEmmanuel Vadot      - lltc,ltc2636-l10
336be33864SEmmanuel Vadot      - lltc,ltc2636-l8
346be33864SEmmanuel Vadot      - lltc,ltc2636-h12
356be33864SEmmanuel Vadot      - lltc,ltc2636-h10
366be33864SEmmanuel Vadot      - lltc,ltc2636-h8
376be33864SEmmanuel Vadot
386be33864SEmmanuel Vadot  reg:
396be33864SEmmanuel Vadot    maxItems: 1
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot  spi-max-frequency:
426be33864SEmmanuel Vadot    maximum: 2000000
436be33864SEmmanuel Vadot
446be33864SEmmanuel Vadot  vref-supply:
456be33864SEmmanuel Vadot    description:
466be33864SEmmanuel Vadot      Phandle to the external reference voltage supply. This should
476be33864SEmmanuel Vadot      only be set if there is an external reference voltage connected to the VREF
486be33864SEmmanuel Vadot      pin. If the property is not set the internal reference is used.
496be33864SEmmanuel Vadot
506be33864SEmmanuel Vadotrequired:
516be33864SEmmanuel Vadot  - compatible
526be33864SEmmanuel Vadot  - reg
536be33864SEmmanuel Vadot
546be33864SEmmanuel VadotadditionalProperties: false
556be33864SEmmanuel Vadot
566be33864SEmmanuel Vadotexamples:
576be33864SEmmanuel Vadot  - |
586be33864SEmmanuel Vadot    vref: regulator-vref {
596be33864SEmmanuel Vadot        compatible = "regulator-fixed";
606be33864SEmmanuel Vadot        regulator-name = "vref-ltc2632";
616be33864SEmmanuel Vadot        regulator-min-microvolt = <1250000>;
626be33864SEmmanuel Vadot        regulator-max-microvolt = <1250000>;
636be33864SEmmanuel Vadot        regulator-always-on;
646be33864SEmmanuel Vadot    };
656be33864SEmmanuel Vadot
666be33864SEmmanuel Vadot    spi {
676be33864SEmmanuel Vadot        #address-cells = <1>;
686be33864SEmmanuel Vadot        #size-cells = <0>;
696be33864SEmmanuel Vadot
706be33864SEmmanuel Vadot        dac@0 {
71d5b0e70fSEmmanuel Vadot            compatible = "lltc,ltc2632-l12";
726be33864SEmmanuel Vadot            reg = <0>;    /* CS0 */
736be33864SEmmanuel Vadot            spi-max-frequency = <1000000>;
746be33864SEmmanuel Vadot            vref-supply = <&vref>;
756be33864SEmmanuel Vadot        };
766be33864SEmmanuel Vadot    };
776be33864SEmmanuel Vadot...
78