brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 201b04a Raw
74 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/dac/ti,dac082s085.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments DAC082s085 and similar DACs8 9description:10  A family of Texas Instruments 8/10/12-bit 2/4-channel DACs11 12maintainers:13  - Lukas Wunner <lukas@wunner.de>14 15properties:16  compatible:17    enum:18      - ti,dac082s08519      - ti,dac102s08520      - ti,dac122s08521      - ti,dac084s08522      - ti,dac104s08523      - ti,dac124s08524 25  reg:26    maxItems: 127 28  spi-cpha: true29  spi-cpol:30    description:31      Must be either spi-cpha, or spi-cpol but not both.32 33  vref-supply:34    description: Needed to provide output scaling.35 36required:37  - compatible38  - reg39  - vref-supply40 41oneOf:42  - required:43      - spi-cpha44  - required:45      - spi-cpol46 47allOf:48  - $ref: /schemas/spi/spi-peripheral-props.yaml#49 50unevaluatedProperties: false51 52examples:53  - |54    vref_2v5_reg: regulator-vref {55        compatible = "regulator-fixed";56        regulator-name = "2v5";57        regulator-min-microvolt = <2500000>;58        regulator-max-microvolt = <2500000>;59        regulator-always-on;60    };61    spi {62        #address-cells = <1>;63        #size-cells = <0>;64 65        dac@0 {66            compatible = "ti,dac082s085";67            reg = <0>;68            spi-max-frequency = <40000000>;69            spi-cpol;70            vref-supply = <&vref_2v5_reg>;71        };72    };73...74