Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Jedec JC-42.4 compatible temperature sensors |
| 8 | |
| 9 | maintainers: |
| 10 | - Jean Delvare <jdelvare@suse.com> |
| 11 | - Guenter Roeck <linux@roeck-us.net> |
| 12 | |
| 13 | select: |
| 14 | properties: |
| 15 | compatible: |
| 16 | const: jedec,jc-42.4-temp |
| 17 | |
| 18 | required: |
| 19 | - compatible |
| 20 | |
| 21 | properties: |
| 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 | |
| 62 | required: |
| 63 | - compatible |
| 64 | - reg |
| 65 | |
| 66 | additionalProperties: false |
| 67 | |
| 68 | examples: |
| 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 | }; |