xref: /linux/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/ti,dac7512.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments DAC7512 DAC
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12properties:
13  compatible:
14    const: ti,dac7512
15
16  reg:
17    maxItems: 1
18
19  spi-max-frequency:
20    description:
21      Maximum frequency is reduced for supply voltage of less than 3.6V
22    maximum: 30000000
23
24required:
25  - compatible
26  - reg
27
28additionalProperties: false
29
30examples:
31  - |
32    spi {
33        #address-cells = <1>;
34        #size-cells = <0>;
35
36        dac@0 {
37            compatible = "ti,dac7512";
38            reg = <0>; /* CS0 */
39            spi-max-frequency = <1000000>;
40        };
41    };
42...
43