Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/iio/adc/ti,ads1100.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: TI ADS1100/ADS1000 single channel I2C analog to digital converter |
| 8 | |
| 9 | maintainers: |
| 10 | - Mike Looijmans <mike.looijmans@topic.nl> |
| 11 | |
| 12 | description: | |
| 13 | Datasheet at: https://www.ti.com/lit/gpn/ads1100 |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - ti,ads1100 |
| 19 | - ti,ads1000 |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | vdd-supply: true |
| 25 | |
| 26 | "#io-channel-cells": |
| 27 | const: 0 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | i2c { |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | |
| 41 | adc@49 { |
| 42 | compatible = "ti,ads1100"; |
| 43 | reg = <0x49>; |
| 44 | }; |
| 45 | }; |
| 46 | ... |