1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic ITE romstage driver - Just enough UART initialisation code for
5 config SUPERIO_ITE_COMMON_PRE_RAM
8 config SUPERIO_ITE_COMMON_GPIO_PRE_RAM
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.
15 if SUPERIO_ITE_COMMON_GPIO_PRE_RAM
17 config SUPERIO_ITE_COMMON_NUM_GPIO_SETS
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.
24 config SUPERIO_ITE_COMMON_GPIO_LED_FREQ_5BIT
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.
35 # Generic ITE environment controller driver
36 config SUPERIO_ITE_ENV_CTRL
39 if SUPERIO_ITE_ENV_CTRL
41 config SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
44 Enable extended, 16-bit wide tacho counters.
46 config SUPERIO_ITE_ENV_CTRL_8BIT_PWM
49 PWM duty cycles are set in 8-bit registers (instead of 7 bit).
51 config SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
54 The second FAN controller has a separate frequency setting.
56 config SUPERIO_ITE_ENV_CTRL_NO_ONOFF
59 FAN controller always works in SmartGuardian mode.
61 config SUPERIO_ITE_ENV_CTRL_5FANS
64 ITE FAN controller has 5 independent outputs.
66 config SUPERIO_ITE_ENV_CTRL_7BIT_SLOPE_REG
69 Slope PWM registers have no separate BIT6 and are set directly by
72 config SUPERIO_ITE_ENV_CTRL_EXT_ANY_TMPIN
75 Temperature can be read to any TMPIN from an external sensor via SST/PECI
76 (instead of TMPIN3 only).
78 config SUPERIO_ITE_ENV_CTRL_NO_FULLSPEED_SETTING
81 Fan controller does not support running at full speed when limit
82 temperature is reached.
84 config SUPERIO_ITE_ENV_CTRL_FAN_VECTOR
87 Special fan control that will assist the smart control
89 config SUPERIO_ITE_ENV_CTRL_FAN_VECTOR_RANGED
91 depends on SUPERIO_ITE_ENV_CTRL_FAN_VECTOR
93 Range and negative slope support