Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Jedec JC-42.4 compatible temperature sensors
0008 
0009 maintainers:
0010   - Jean Delvare <jdelvare@suse.com>
0011   - Guenter Roeck <linux@roeck-us.net>
0012 
0013 select:
0014   properties:
0015     compatible:
0016       const: jedec,jc-42.4-temp
0017 
0018   required:
0019     - compatible
0020 
0021 properties:
0022   compatible:
0023     oneOf:
0024       - const: jedec,jc-42.4-temp
0025       - items:
0026           - enum:
0027               - adi,adt7408
0028               - atmel,at30ts00
0029               - atmel,at30tse004
0030               - idt,tse2002
0031               - idt,tse2004
0032               - idt,ts3000
0033               - idt,ts3001
0034               - maxim,max6604
0035               - microchip,mcp9804
0036               - microchip,mcp9805
0037               - microchip,mcp9808
0038               - microchip,mcp98243
0039               - microchip,mcp98244
0040               - microchip,mcp9843
0041               - nxp,se97
0042               - nxp,se97b
0043               - nxp,se98
0044               - onnn,cat6095
0045               - onnn,cat34ts02
0046               - st,stts2002
0047               - st,stts2004
0048               - st,stts3000
0049               - st,stts424
0050               - st,stts424e
0051           - const: jedec,jc-42.4-temp
0052 
0053   reg:
0054     maxItems: 1
0055 
0056   smbus-timeout-disable:
0057     description: |
0058       When set, the smbus timeout function will be disabled. This is not
0059       supported on all chips.
0060     type: boolean
0061 
0062 required:
0063   - compatible
0064   - reg
0065 
0066 additionalProperties: false
0067 
0068 examples:
0069   - |
0070     i2c {
0071         #address-cells = <1>;
0072         #size-cells = <0>;
0073 
0074         temp-sensor@1a {
0075             compatible = "jedec,jc-42.4-temp";
0076             reg = <0x1a>;
0077         };
0078     };