summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml
blob: 4277cf8a4a2ecbb4fe5f2ffa49cacb0840b07445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/dac/ti,dac7512.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments DAC7512 DAC

maintainers:
  - Jonathan Cameron <jic23@kernel.org>

properties:
  compatible:
    const: ti,dac7512

  reg:
    maxItems: 1

  spi-max-frequency:
    description:
      Maximum frequency is reduced for supply voltage of less than 3.6V
    maximum: 30000000

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        dac@0 {
            compatible = "ti,dac7512";
            reg = <0>; /* CS0 */
            spi-max-frequency = <1000000>;
        };
    };
...