diff options
Diffstat (limited to 'zephyr/Kconfig.temperature')
-rw-r--r-- | zephyr/Kconfig.temperature | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/zephyr/Kconfig.temperature b/zephyr/Kconfig.temperature index 1718a8dc53..09756663bc 100644 --- a/zephyr/Kconfig.temperature +++ b/zephyr/Kconfig.temperature @@ -1,4 +1,4 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Copyright 2021 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -33,7 +33,7 @@ config PLATFORM_EC_DPTF config PLATFORM_EC_THERMISTOR bool "Thermistor support" - depends on PLATFORM_EC_ADC + depends on ADC help Enables support for thermistors (resistor whose resistance is strongly dependent on temperature) as temperature-sensor type. @@ -77,11 +77,10 @@ config PLATFORM_EC_TEMP_SENSOR_FIRST_READ_DELAY_MS endif # PLATFORM_EC_TEMP_SENSOR_FIRST_READ_DELAY -DT_COMPAT_CROS_EC_FANS := cros-ec,fans - config PLATFORM_EC_FAN bool "Fan support" - default $(dt_compat_enabled,$(DT_COMPAT_CROS_EC_FANS)) + default y + depends on DT_HAS_CROS_EC_FANS_ENABLED help Enables support for fans. Allows periodic thermal task to automatically set the fan speed (control temperature). @@ -101,3 +100,12 @@ config PLATFORM_EC_NUM_FANS for control through fan APIs. endif # PLATFORM_EC_FAN + +config PLATFORM_EC_FAN_BYPASS_SLOW_RESPONSE + bool "Enable fan slow response control mechanism" + default n + help + A specific type of fan needs a longer time to output the TACH + signal to EC after EC outputs the PWM signal to the fan. + During this period, the driver will read two consecutive RPM = 0. + In this case, don't step the PWM duty too aggressively. |