Felix Held | 3f3eca9 | 2020-01-23 17:12:32 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Stefan Reinauer | 6559f43 | 2010-12-17 00:13:54 +0000 | [diff] [blame] | 2 | |
Omar Pakker | 57603e2 | 2016-07-29 23:31:45 +0200 | [diff] [blame] | 3 | # Generic ITE romstage driver - Just enough UART initialisation code for |
| 4 | # romstage. |
Arthur Heymans | 085a226 | 2019-01-04 16:11:50 +0100 | [diff] [blame] | 5 | config SUPERIO_ITE_COMMON_PRE_RAM |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 6 | bool |
Nico Huber | e34e178 | 2016-09-29 12:33:01 +0200 | [diff] [blame] | 7 | |
| 8 | # Generic ITE environment controller driver |
| 9 | config SUPERIO_ITE_ENV_CTRL |
| 10 | bool |
| 11 | |
| 12 | if SUPERIO_ITE_ENV_CTRL |
| 13 | |
| 14 | config SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG |
| 15 | bool |
| 16 | help |
| 17 | Enable extended, 16-bit wide tacho counters. |
| 18 | |
| 19 | config SUPERIO_ITE_ENV_CTRL_8BIT_PWM |
| 20 | bool |
| 21 | help |
| 22 | PWM duty cycles are set in 8-bit registers (instead of 7 bit). |
| 23 | |
| 24 | config SUPERIO_ITE_ENV_CTRL_PWM_FREQ2 |
| 25 | bool |
| 26 | help |
| 27 | The second FAN controller has a separate frequency setting. |
| 28 | |
Krystian Hebel | 97445f2 | 2019-02-26 11:19:58 +0100 | [diff] [blame] | 29 | config SUPERIO_ITE_ENV_CTRL_NO_ONOFF |
| 30 | bool |
| 31 | help |
| 32 | FAN controller always works in SmartGuardian mode. |
| 33 | |
| 34 | config SUPERIO_ITE_ENV_CTRL_5FANS |
| 35 | bool |
| 36 | help |
| 37 | ITE FAN controller has 5 independent outputs. |
Michał Żygowski | dcfff37 | 2018-12-31 10:45:19 +0100 | [diff] [blame] | 38 | |
| 39 | config SUPERIO_ITE_ENV_CTRL_7BIT_SLOPE_REG |
| 40 | bool |
| 41 | help |
| 42 | Slope PWM registers have no separate BIT6 and are set directly by |
| 43 | 7-bit values instead. |
| 44 | |
Michael Büchler | 370b8b6 | 2020-06-01 20:51:58 +0200 | [diff] [blame] | 45 | config SUPERIO_ITE_ENV_CTRL_EXT_ANY_TMPIN |
| 46 | bool |
| 47 | help |
| 48 | Temperature can be read to any TMPIN from an external sensor via SST/PECI |
| 49 | (instead of TMPIN3 only). |
| 50 | |
Joel Linn | f7e4567 | 2024-03-29 14:03:44 +0100 | [diff] [blame^] | 51 | config SUPERIO_ITE_ENV_CTRL_NO_FULLSPEED_SETTING |
| 52 | bool |
| 53 | help |
| 54 | Fan controller does not support running at full speed when limit |
| 55 | temperature is reached. |
| 56 | |
Nico Huber | e34e178 | 2016-09-29 12:33:01 +0200 | [diff] [blame] | 57 | endif |