| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
# Generic ITE romstage driver - Just enough UART initialisation code for |
| 4 |
# romstage. |
| 5 |
config SUPERIO_ITE_COMMON_PRE_RAM |
| 6 |
bool |
| 7 |
|
| 8 |
config SUPERIO_ITE_COMMON_GPIO_PRE_RAM |
| 9 |
bool |
| 10 |
help |
| 11 |
Enable generic pre-ram driver for configuring ITE SIO GPIOs. |
| 12 |
It applies only to ITE SIOs not ITE ECs using LDN 7 (typically) |
| 13 |
to configure GPIO Simple I/O mode. |
| 14 |
|
| 15 |
if SUPERIO_ITE_COMMON_GPIO_PRE_RAM |
| 16 |
|
| 17 |
config SUPERIO_ITE_COMMON_NUM_GPIO_SETS |
| 18 |
int |
| 19 |
help |
| 20 |
The maximum number of GPIO sets supported by ITE SIO chip. |
| 21 |
Each SIO chip must set this config option to a proper values |
| 22 |
if it intends to enable SUPERIO_ITE_COMMON_GPIO_PRE_RAM. |
| 23 |
|
| 24 |
config SUPERIO_ITE_COMMON_GPIO_LED_FREQ_5BIT |
| 25 |
bool |
| 26 |
default n |
| 27 |
help |
| 28 |
Selected ITE SIOs control the GPIO LED frequency using 5 bits |
| 29 |
instead of two. The LED register layout is also different for |
| 30 |
these chips. Select this if the SIO GP LED Frequency control |
| 31 |
field has 5 bits and support duty cycle as well. |
| 32 |
|
| 33 |
endif |
| 34 |
|
| 35 |
# Generic ITE environment controller driver |
| 36 |
config SUPERIO_ITE_ENV_CTRL |
| 37 |
bool |
| 38 |
|
| 39 |
if SUPERIO_ITE_ENV_CTRL |
| 40 |
|
| 41 |
config SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG |
| 42 |
bool |
| 43 |
help |
| 44 |
Enable extended, 16-bit wide tacho counters. |
| 45 |
|
| 46 |
config SUPERIO_ITE_ENV_CTRL_8BIT_PWM |
| 47 |
bool |
| 48 |
help |
| 49 |
PWM duty cycles are set in 8-bit registers (instead of 7 bit). |
| 50 |
|
| 51 |
config SUPERIO_ITE_ENV_CTRL_PWM_FREQ2 |
| 52 |
bool |
| 53 |
help |
| 54 |
The second FAN controller has a separate frequency setting. |
| 55 |
|
| 56 |
config SUPERIO_ITE_ENV_CTRL_NO_ONOFF |
| 57 |
bool |
| 58 |
help |
| 59 |
FAN controller always works in SmartGuardian mode. |
| 60 |
|
| 61 |
config SUPERIO_ITE_ENV_CTRL_5FANS |
| 62 |
bool |
| 63 |
help |
| 64 |
ITE FAN controller has 5 independent outputs. |
| 65 |
|
| 66 |
config SUPERIO_ITE_ENV_CTRL_7BIT_SLOPE_REG |
| 67 |
bool |
| 68 |
help |
| 69 |
Slope PWM registers have no separate BIT6 and are set directly by |
| 70 |
7-bit values instead. |
| 71 |
|
| 72 |
config SUPERIO_ITE_ENV_CTRL_EXT_ANY_TMPIN |
| 73 |
bool |
| 74 |
help |
| 75 |
Temperature can be read to any TMPIN from an external sensor via SST/PECI |
| 76 |
(instead of TMPIN3 only). |
| 77 |
|
| 78 |
config SUPERIO_ITE_ENV_CTRL_NO_FULLSPEED_SETTING |
| 79 |
bool |
| 80 |
help |
| 81 |
Fan controller does not support running at full speed when limit |
| 82 |
temperature is reached. |
| 83 |
|
| 84 |
config SUPERIO_ITE_ENV_CTRL_FAN_VECTOR |
| 85 |
bool |
| 86 |
help |
| 87 |
Special fan control that will assist the smart control |
| 88 |
|
| 89 |
config SUPERIO_ITE_ENV_CTRL_FAN_VECTOR_RANGED |
| 90 |
bool |
| 91 |
depends on SUPERIO_ITE_ENV_CTRL_FAN_VECTOR |
| 92 |
help |
| 93 |
Range and negative slope support |
| 94 |
|
| 95 |
endif |