soc/intel/alderlake: Add missing min sleep state for SMBUS device
[coreboot2.git] / src / superio / ite / common / Kconfig
blobc5eeec6c87f50d97ffd20c846d5f8a0d1428432e
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic ITE romstage driver - Just enough UART initialisation code for
4 # romstage.
5 config SUPERIO_ITE_COMMON_PRE_RAM
6         bool
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.
15 if SUPERIO_ITE_COMMON_GPIO_PRE_RAM
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.
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.
33 endif
35 # Generic ITE environment controller driver
36 config SUPERIO_ITE_ENV_CTRL
37         bool
39 if SUPERIO_ITE_ENV_CTRL
41 config SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
42         bool
43         help
44           Enable extended, 16-bit wide tacho counters.
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).
51 config SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
52         bool
53         help
54           The second FAN controller has a separate frequency setting.
56 config SUPERIO_ITE_ENV_CTRL_NO_ONOFF
57         bool
58         help
59           FAN controller always works in SmartGuardian mode.
61 config SUPERIO_ITE_ENV_CTRL_5FANS
62         bool
63         help
64           ITE FAN controller has 5 independent outputs.
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.
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).
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.
84 config SUPERIO_ITE_ENV_CTRL_FAN_VECTOR
85         bool
86         help
87           Special fan control that will assist the smart control
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
95 endif