51 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,dac7311.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments DAC5311 and similar SPI DACs8 9maintainers:10 - Charles-Antoine Couret <charles-antoine.couret@essensium.com>11 12properties:13 compatible:14 enum:15 - ti,dac731116 - ti,dac631117 - ti,dac531118 19 reg:20 maxItems: 121 22 vref-supply:23 description:24 Reference voltage must be supplied to establish the scaling of the25 output voltage.26 27required:28 - compatible29 - reg30 - vref-supply31 32allOf:33 - $ref: /schemas/spi/spi-peripheral-props.yaml#34 35unevaluatedProperties: false36 37examples:38 - |39 spi {40 #address-cells = <1>;41 #size-cells = <0>;42 43 dac@0 {44 compatible = "ti,dac7311";45 reg = <0>; /* CS0 */46 spi-max-frequency = <1000000>;47 vref-supply = <&vdd_supply>;48 };49 };50...51