diff options
Diffstat (limited to 'zephyr/dts/bindings/temp')
-rw-r--r-- | zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml | 86 | ||||
-rw-r--r-- | zephyr/dts/bindings/temp/cros_ec_thermistor.yaml | 57 |
2 files changed, 0 insertions, 143 deletions
diff --git a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml b/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml deleted file mode 100644 index 288dc2d1c8..0000000000 --- a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: > - Common properties for temperature sensors - Zero values in degrees K(-273 in degrees C)in thermal thresholds will - be ignored - -compatible: cros-ec,temp-sensor - -properties: - adc: - required: true - type: phandle - description: The named adc channel - - thermistor: - type: phandle - description: Underlying thermistor device if used - - label: - required: true - type: string - description: - Human-readable string describing the device (used as - device_get_binding() argument) - - enum-name: - type: string - required: true - description: - Enum values used in the source code to refer to the temperature sensors - enum: - - TEMP_SENSOR_CHARGER - - TEMP_SENSOR_DDR_SOC - - TEMP_SENSOR_FAN - - TEMP_SENSOR_PP3300_REGULATOR - - temp_fan_off: - type: int - description: - Temperature threshold in degrees C when no active cooling - is needed - - temp_fan_max: - type: int - description: - Temperature threshold in degrees C when max active cooling - is needed - - temp_host_warn: - type: int - description: - Temperature threshold in degrees C of thermal warn. - Temperatures above the thermal warn threshold generate a - request to the AP to throttle itself. - - temp_host_high: - type: int - description: - Temperature threshold in degrees C of thermal high. - Temperatures above the thermal high threshold cause the EC to - assert a signal (usually PROCHOT) to the AP and force the AP to - throttle. - - temp_host_halt: - type: int - description: - Temperature threshold in degrees C that forces AP to shutdown - due to thermal reason - - temp_host_release_warn: - type: int - description: - Temperature release threshold in degrees C of thermal warn - - temp_host_release_high: - type: int - description: - Temperature release threshold in degrees C of thermal high - - temp_host_release_halt: - type: int - description: - Temperature release threshold in degrees C of thermal shutdown diff --git a/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml b/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml deleted file mode 100644 index d4bc32ed3c..0000000000 --- a/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# For more information: -# https://www.electronics-tutorials.ws/io/thermistors.html - -description: Common properties for thermistors - -compatible: cros-ec,thermistor - -properties: - scaling-factor: - required: true - type: int - description: Scaling factor for voltage pairs - - num-pairs: - required: true - type: int - description: Number of sample data points for linear interpolation - - steinhart-reference-mv: - required: true - type: int - description: > - Used only for testing. - Is the reference voltage for temperature 25C. - - steinhart-reference-res: - required: true - type: int - description: > - Used only for testing. - Is the reference resistance for temperature 25C. - -child-binding: - description: > - Data samples derived from Steinhart-Hart - equation in a resistor divider circuit. - Used in linear interpolation. - - properties: - milivolt: - type: int - required: true - description: Voltage reading for a given temperature sample - - temp: - type: int - required: true - description: Temperature (Celcius) in a sample - - sample-index: - type: int - required: true - description: The index of a datum to maintain sample order to interpolate. |