xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/ti,dac7311.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/ti,dac7311.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Texas Instruments DAC5311 and similar SPI DACs
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Charles-Antoine Couret <charles-antoine.couret@essensium.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotproperties:
135def4c47SEmmanuel Vadot  compatible:
145def4c47SEmmanuel Vadot    enum:
155def4c47SEmmanuel Vadot      - ti,dac7311
165def4c47SEmmanuel Vadot      - ti,dac6311
175def4c47SEmmanuel Vadot      - ti,dac5311
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadot  reg:
205def4c47SEmmanuel Vadot    maxItems: 1
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadot  vref-supply:
235def4c47SEmmanuel Vadot    description:
245def4c47SEmmanuel Vadot      Reference voltage must be supplied to establish the scaling of the
255def4c47SEmmanuel Vadot      output voltage.
265def4c47SEmmanuel Vadot
275def4c47SEmmanuel Vadotrequired:
285def4c47SEmmanuel Vadot  - compatible
295def4c47SEmmanuel Vadot  - reg
305def4c47SEmmanuel Vadot  - vref-supply
315def4c47SEmmanuel Vadot
32*7ef62cebSEmmanuel VadotallOf:
33*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34*7ef62cebSEmmanuel Vadot
35*7ef62cebSEmmanuel VadotunevaluatedProperties: false
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel Vadotexamples:
385def4c47SEmmanuel Vadot  - |
395def4c47SEmmanuel Vadot    spi {
405def4c47SEmmanuel Vadot        #address-cells = <1>;
415def4c47SEmmanuel Vadot        #size-cells = <0>;
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadot        dac@0 {
445def4c47SEmmanuel Vadot            compatible = "ti,dac7311";
455def4c47SEmmanuel Vadot            reg = <0>; /* CS0 */
465def4c47SEmmanuel Vadot            spi-max-frequency = <1000000>;
475def4c47SEmmanuel Vadot            vref-supply = <&vdd_supply>;
485def4c47SEmmanuel Vadot        };
495def4c47SEmmanuel Vadot    };
505def4c47SEmmanuel Vadot...
51