xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad7303.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,ad7303.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Analog Devices AD7303 DAC
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Lars-Peter Clausen <lars@metafoo.de>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotproperties:
13*5def4c47SEmmanuel Vadot  compatible:
14*5def4c47SEmmanuel Vadot    const: adi,ad7303
15*5def4c47SEmmanuel Vadot
16*5def4c47SEmmanuel Vadot  reg:
17*5def4c47SEmmanuel Vadot    maxItems: 1
18*5def4c47SEmmanuel Vadot
19*5def4c47SEmmanuel Vadot  Vdd-supply:
20*5def4c47SEmmanuel Vadot    description:
21*5def4c47SEmmanuel Vadot      Used to calculate output channel scalling if REF-supply not specified.
22*5def4c47SEmmanuel Vadot  REF-supply:
23*5def4c47SEmmanuel Vadot    description:
24*5def4c47SEmmanuel Vadot      If not provided, Vdd/2 is used as the reference voltage.
25*5def4c47SEmmanuel Vadot
26*5def4c47SEmmanuel Vadot  spi-max-frequency:
27*5def4c47SEmmanuel Vadot    maximum: 30000000
28*5def4c47SEmmanuel Vadot
29*5def4c47SEmmanuel Vadotrequired:
30*5def4c47SEmmanuel Vadot  - compatible
31*5def4c47SEmmanuel Vadot  - reg
32*5def4c47SEmmanuel Vadot  - Vdd-supply
33*5def4c47SEmmanuel Vadot
34*5def4c47SEmmanuel VadotadditionalProperties: false
35*5def4c47SEmmanuel Vadot
36*5def4c47SEmmanuel Vadotexamples:
37*5def4c47SEmmanuel Vadot  - |
38*5def4c47SEmmanuel Vadot    spi {
39*5def4c47SEmmanuel Vadot        #address-cells = <1>;
40*5def4c47SEmmanuel Vadot        #size-cells = <0>;
41*5def4c47SEmmanuel Vadot
42*5def4c47SEmmanuel Vadot        dac@4 {
43*5def4c47SEmmanuel Vadot            compatible = "adi,ad7303";
44*5def4c47SEmmanuel Vadot            reg = <4>;
45*5def4c47SEmmanuel Vadot            spi-max-frequency = <10000000>;
46*5def4c47SEmmanuel Vadot            Vdd-supply = <&vdd_supply>;
47*5def4c47SEmmanuel Vadot            REF-supply = <&vref_supply>;
48*5def4c47SEmmanuel Vadot        };
49*5def4c47SEmmanuel Vadot    };
50*5def4c47SEmmanuel Vadot...
51