Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/iio/amplifiers/adi,ada4250.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: ADA4250 Programmable Gain Instrumentation Amplifier |
| 8 | |
| 9 | maintainers: |
| 10 | - Antoniu Miclaus <antoniu.miclaus@analog.com> |
| 11 | |
| 12 | description: | |
| 13 | Precision Low Power, 110kHz, 26uA, Programmable Gain Instrumentation Amplifier. |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - adi,ada4250 |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | avdd-supply: true |
| 24 | |
| 25 | adi,refbuf-enable: |
| 26 | description: |
| 27 | Enable internal buffer to drive the reference pin. |
| 28 | type: boolean |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - avdd-supply |
| 34 | |
| 35 | allOf: |
| 36 | - $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 37 | |
| 38 | unevaluatedProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | spi { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | amplifier@0 { |
| 46 | compatible = "adi,ada4250"; |
| 47 | reg = <0>; |
| 48 | avdd-supply = <&avdd>; |
| 49 | }; |
| 50 | }; |
| 51 | ... |