# Copyright (c) 2020 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0

description: NXP Kinetis temperature sensor

compatible: "nxp,kinetis-temperature"

include: base.yaml

properties:
    label:
      required: true

    io-channels:
      required: true
      description: ADC channels for temperature sensor and bandgap voltage

    io-channel-names:
      required: true
      description: name of each ADC channel (SENSOR or BANDGAP)

    bandgap-voltage:
      type: int
      required: true
      description: Bandgap voltage in microvolts

    vtemp25:
      type: int
      required: true
      description: |
          Temperature sensor voltage at 25 degrees Celcius in microvolts

    sensor-slope-cold:
      type: int
      required: true
      description: |
          Temperature sensor slope in microvolts per degree Celsius for
          temperatures below 25 degrees Celsius

    sensor-slope-hot:
      type: int
      required: true
      description: |
          Temperature sensor slope in microvolts per degree Celsius for
          temperatures above or equal to 25 degrees Celsius
