Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/iio/dac/lltc,ltc2632.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: Linear Technology LTC263x 12-/10-/8-Bit Rail-to-Rail DAC
0008 
0009 maintainers:
0010   - Michael Hennerich <michael.hennerich@analog.com>
0011 
0012 description: |
0013   Bindings for the Linear Technology LTC2632/2634/2636 DAC
0014   Datasheet can be found here: https://www.analog.com/media/en/technical-documentation/data-sheets/LTC263[246].pdf
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - lltc,ltc2632-l12
0020       - lltc,ltc2632-l10
0021       - lltc,ltc2632-l8
0022       - lltc,ltc2632-h12
0023       - lltc,ltc2632-h10
0024       - lltc,ltc2632-h8
0025       - lltc,ltc2634-l12
0026       - lltc,ltc2634-l10
0027       - lltc,ltc2634-l8
0028       - lltc,ltc2634-h12
0029       - lltc,ltc2634-h10
0030       - lltc,ltc2634-h8
0031       - lltc,ltc2636-l12
0032       - lltc,ltc2636-l10
0033       - lltc,ltc2636-l8
0034       - lltc,ltc2636-h12
0035       - lltc,ltc2636-h10
0036       - lltc,ltc2636-h8
0037 
0038   reg:
0039     maxItems: 1
0040 
0041   spi-max-frequency:
0042     maximum: 2000000
0043 
0044   vref-supply:
0045     description:
0046       Phandle to the external reference voltage supply. This should
0047       only be set if there is an external reference voltage connected to the VREF
0048       pin. If the property is not set the internal reference is used.
0049 
0050 required:
0051   - compatible
0052   - reg
0053 
0054 additionalProperties: false
0055 
0056 examples:
0057   - |
0058     vref: regulator-vref {
0059         compatible = "regulator-fixed";
0060         regulator-name = "vref-ltc2632";
0061         regulator-min-microvolt = <1250000>;
0062         regulator-max-microvolt = <1250000>;
0063         regulator-always-on;
0064     };
0065 
0066     spi {
0067       #address-cells = <1>;
0068       #size-cells = <0>;
0069 
0070       dac@0 {
0071         compatible = "lltc,ltc2632-l12";
0072         reg = <0>;    /* CS0 */
0073         spi-max-frequency = <1000000>;
0074         vref-supply = <&vref>;
0075       };
0076     };
0077 ...