xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiometer/max5432.yaml (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/potentiometer/max5432.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX5432-MAX5435 Digital Potentiometers
8
9maintainers:
10  - Martin Kaiser <martin@kaiser.cx>
11
12description: |
13  Maxim Integrated MAX5432-MAX5435 Digital Potentiometers connected via I2C
14
15  Datasheet:
16    https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf
17
18properties:
19  compatible:
20    enum:
21      - maxim,max5432
22      - maxim,max5433
23      - maxim,max5434
24      - maxim,max5435
25
26  reg:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38      #address-cells = <1>;
39      #size-cells = <0>;
40      max5434@28 {
41        compatible = "maxim,max5434";
42        reg = <0x28>;
43      };
44    };
45