~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/dac/adi,ltc2672.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/iio/dac/adi,ltc2672.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Analog Devices LTC2672 DAC
  8 
  9 maintainers:
 10   - Michael Hennerich <michael.hennerich@analog.com>
 11   - Kim Seer Paller <kimseer.paller@analog.com>
 12 
 13 description: |
 14   Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC
 15   https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2672.pdf
 16 
 17 properties:
 18   compatible:
 19     enum:
 20       - adi,ltc2672
 21 
 22   reg:
 23     maxItems: 1
 24 
 25   spi-max-frequency:
 26     maximum: 50000000
 27 
 28   vcc-supply:
 29     description: Analog Supply Voltage Input.
 30 
 31   v-neg-supply:
 32     description: Negative Supply Voltage Input.
 33 
 34   vdd0-supply:
 35     description: Positive Supply Voltage Input for DAC OUT0.
 36 
 37   vdd1-supply:
 38     description: Positive Supply Voltage Input for DAC OUT1.
 39 
 40   vdd2-supply:
 41     description: Positive Supply Voltage Input for DAC OUT2.
 42 
 43   vdd3-supply:
 44     description: Positive Supply Voltage Input for DAC OUT3.
 45 
 46   vdd4-supply:
 47     description: Positive Supply Voltage Input for DAC OUT4.
 48 
 49   iovcc-supply:
 50     description: Digital Input/Output Supply Voltage.
 51 
 52   ref-supply:
 53     description:
 54       Reference Input/Output. The voltage at the REF pin sets the full-scale
 55       range of all channels. If not provided the internal reference is used and
 56       also provided on the VREF pin.
 57 
 58   reset-gpios:
 59     description:
 60       Active Low Asynchronous Clear Input. A logic low at this level triggered
 61       input clears the device to the default reset code and output range, which
 62       is zero-scale with the outputs off. The control registers are cleared to
 63       zero.
 64     maxItems: 1
 65 
 66   adi,rfsadj-ohms:
 67     description:
 68       If FSADJ is tied to VCC, an internal RFSADJ (20 kΩ) is selected, which
 69       results in nominal output ranges. When an external resistor of 19 kΩ to
 70       41 kΩ can be used instead by connecting the resistor between FSADJ and GND
 71       it controls the scaling of the ranges, and the internal resistor is
 72       automatically disconnected.
 73     minimum: 19000
 74     maximum: 41000
 75     default: 20000
 76 
 77   io-channels:
 78     description:
 79       ADC channel to monitor voltages and currents at the MUX pin.
 80     maxItems: 1
 81 
 82   '#address-cells':
 83     const: 1
 84 
 85   '#size-cells':
 86     const: 0
 87 
 88 patternProperties:
 89   "^channel@[0-4]$":
 90     $ref: dac.yaml
 91     type: object
 92     additionalProperties: false
 93 
 94     properties:
 95       reg:
 96         description: The channel number representing the DAC output channel.
 97         maximum: 4
 98 
 99       adi,toggle-mode:
100         description:
101           Set the channel as a toggle enabled channel. Toggle operation enables
102           fast switching of a DAC output between two different DAC codes without
103           any SPI transaction.
104         type: boolean
105 
106       output-range-microamp:
107         items:
108           - const: 0
109           - enum: [3125000, 6250000, 12500000, 25000000, 50000000, 100000000,
110                    200000000, 300000000]
111 
112     required:
113       - reg
114       - output-range-microamp
115 
116 required:
117   - compatible
118   - reg
119   - spi-max-frequency
120   - vcc-supply
121   - iovcc-supply
122   - v-neg-supply
123 
124 allOf:
125   - $ref: /schemas/spi/spi-peripheral-props.yaml#
126 
127 additionalProperties: false
128 
129 examples:
130   - |
131     spi {
132         #address-cells = <1>;
133         #size-cells = <0>;
134         dac@0 {
135             compatible = "adi,ltc2672";
136             reg = <0>;
137             spi-max-frequency = <10000000>;
138 
139             vcc-supply = <&vcc>;
140             iovcc-supply = <&vcc>;
141             ref-supply = <&vref>;
142             v-neg-supply = <&vneg>;
143 
144             io-channels = <&adc 0>;
145 
146             #address-cells = <1>;
147             #size-cells = <0>;
148             channel@0 {
149                 reg = <0>;
150                 adi,toggle-mode;
151                 output-range-microamp = <0 3125000>;
152             };
153 
154             channel@1 {
155                 reg = <1>;
156                 output-range-microamp = <0 6250000>;
157             };
158         };
159     };
160 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php