GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / hwmon / nuvoton,nct6775.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4
5 $id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Nuvoton NCT6775 and compatible Super I/O chips
9
10 maintainers:
11   - Zev Weiss <zev@bewilderbeest.net>
12
13 properties:
14   compatible:
15     enum:
16       - nuvoton,nct6106
17       - nuvoton,nct6116
18       - nuvoton,nct6775
19       - nuvoton,nct6776
20       - nuvoton,nct6779
21       - nuvoton,nct6791
22       - nuvoton,nct6792
23       - nuvoton,nct6793
24       - nuvoton,nct6795
25       - nuvoton,nct6796
26       - nuvoton,nct6797
27       - nuvoton,nct6798
28
29   reg:
30     maxItems: 1
31
32   nuvoton,tsi-channel-mask:
33     description:
34       Bitmask indicating which TSI temperature sensor channels are
35       active.  LSB is TSI0, bit 1 is TSI1, etc.
36     $ref: /schemas/types.yaml#/definitions/uint32
37     maximum: 0xff
38     default: 0
39
40 required:
41   - compatible
42   - reg
43
44 additionalProperties: false
45
46 examples:
47   - |
48     i2c {
49         #address-cells = <1>;
50         #size-cells = <0>;
51
52         superio@4d {
53             compatible = "nuvoton,nct6779";
54             reg = <0x4d>;
55             nuvoton,tsi-channel-mask = <0x03>;
56         };
57     };