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 | |
| 5 | $id: http://devicetree.org/schemas/hwmon/adi,ad741x.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Analog Devices AD7416/AD7417/AD7418 temperature sensors |
| 9 | |
| 10 | maintainers: |
| 11 | - Krzysztof Kozlowski <krzk@kernel.org> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | enum: |
| 16 | - adi,ad7416 |
| 17 | - adi,ad7417 |
| 18 | - adi,ad7418 |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | required: |
| 24 | - compatible |
| 25 | - reg |
| 26 | |
| 27 | additionalProperties: false |
| 28 | |
| 29 | examples: |
| 30 | - | |
| 31 | i2c { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | temperature-sensor@28 { |
| 36 | compatible = "adi,ad7418"; |
| 37 | reg = <0x28>; |
| 38 | }; |
| 39 | }; |