440b075bd2
Documentation/process/license-rules.rst and checkpatch expect the SPDX identifier syntax for multiple licenses to use capital "OR". Correct it to keep consistent format and avoid copy-paste issues. Correct also the format // -> .* in few Allwinner binding headers as pointed out by checkpatch: WARNING: Improper SPDX comment style for 'include/dt-bindings/reset/sun50i-h6-ccu.h', please use '/*' instead Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20230823084540.112602-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
79 lines
1.7 KiB
YAML
79 lines
1.7 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Jedec JC-42.4 compatible temperature sensors
|
|
|
|
maintainers:
|
|
- Jean Delvare <jdelvare@suse.com>
|
|
- Guenter Roeck <linux@roeck-us.net>
|
|
|
|
select:
|
|
properties:
|
|
compatible:
|
|
const: jedec,jc-42.4-temp
|
|
|
|
required:
|
|
- compatible
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: jedec,jc-42.4-temp
|
|
- items:
|
|
- enum:
|
|
- adi,adt7408
|
|
- atmel,at30ts00
|
|
- atmel,at30tse004
|
|
- idt,tse2002
|
|
- idt,tse2004
|
|
- idt,ts3000
|
|
- idt,ts3001
|
|
- maxim,max6604
|
|
- microchip,mcp9804
|
|
- microchip,mcp9805
|
|
- microchip,mcp9808
|
|
- microchip,mcp98243
|
|
- microchip,mcp98244
|
|
- microchip,mcp9843
|
|
- nxp,se97
|
|
- nxp,se97b
|
|
- nxp,se98
|
|
- onnn,cat6095
|
|
- onnn,cat34ts02
|
|
- st,stts2002
|
|
- st,stts2004
|
|
- st,stts3000
|
|
- st,stts424
|
|
- st,stts424e
|
|
- const: jedec,jc-42.4-temp
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
smbus-timeout-disable:
|
|
description: |
|
|
When set, the smbus timeout function will be disabled. This is not
|
|
supported on all chips.
|
|
type: boolean
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
temp-sensor@1a {
|
|
compatible = "jedec,jc-42.4-temp";
|
|
reg = <0x1a>;
|
|
};
|
|
};
|