# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/national,lm63.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: LM63-compatible temperature sensors with integrated fan control

maintainers:
  - Guenter Roeck <linux@roeck-us.net>

description: |
  The LM63 family provides local and remote temperature monitoring together
  with fan speed monitoring and PWM fan control. Supported devices include
  the National Semiconductor LM63, LM64 and LM96163, and the Sensylink
  CTF2301.

allOf:
  - $ref: hwmon-common.yaml#

properties:
  compatible:
    enum:
      - national,lm63
      - national,lm64
      - national,lm96163
      - sensylink,ctf2301

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  "#cooling-cells":
    const: 2

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        temperature-sensor@4c {
            compatible = "national,lm63";
            reg = <0x4c>;
            #cooling-cells = <2>;
        };
    };