xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/jedec,jc42.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
1# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Jedec JC-42.4 compatible temperature sensors
8
9maintainers:
10  - Jean Delvare <jdelvare@suse.com>
11  - Guenter Roeck <linux@roeck-us.net>
12
13select:
14  properties:
15    compatible:
16      const: jedec,jc-42.4-temp
17
18  required:
19    - compatible
20
21properties:
22  compatible:
23    oneOf:
24      - const: jedec,jc-42.4-temp
25      - items:
26          - enum:
27              - adi,adt7408
28              - atmel,at30ts00
29              - atmel,at30tse004
30              - idt,tse2002
31              - idt,tse2004
32              - idt,ts3000
33              - idt,ts3001
34              - maxim,max6604
35              - microchip,mcp9804
36              - microchip,mcp9805
37              - microchip,mcp9808
38              - microchip,mcp98243
39              - microchip,mcp98244
40              - microchip,mcp9843
41              - nxp,se97
42              - nxp,se97b
43              - nxp,se98
44              - onnn,cat6095
45              - onnn,cat34ts02
46              - st,stts2002
47              - st,stts2004
48              - st,stts3000
49              - st,stts424
50              - st,stts424e
51          - const: jedec,jc-42.4-temp
52
53  reg:
54    maxItems: 1
55
56  smbus-timeout-disable:
57    description: |
58      When set, the smbus timeout function will be disabled. This is not
59      supported on all chips.
60    type: boolean
61
62required:
63  - compatible
64  - reg
65
66additionalProperties: false
67
68examples:
69  - |
70    i2c {
71        #address-cells = <1>;
72        #size-cells = <0>;
73
74        temp-sensor@1a {
75            compatible = "jedec,jc-42.4-temp";
76            reg = <0x1a>;
77        };
78    };
79