summaryrefslogtreecommitdiff
path: root/src/superio/ite/common/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/common/Kconfig')
-rw-r--r--src/superio/ite/common/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig
index 4701056bfa..c5eeec6c87 100644
--- a/src/superio/ite/common/Kconfig
+++ b/src/superio/ite/common/Kconfig
@@ -5,6 +5,33 @@
config SUPERIO_ITE_COMMON_PRE_RAM
bool
+config SUPERIO_ITE_COMMON_GPIO_PRE_RAM
+ bool
+ help
+ Enable generic pre-ram driver for configuring ITE SIO GPIOs.
+ It applies only to ITE SIOs not ITE ECs using LDN 7 (typically)
+ to configure GPIO Simple I/O mode.
+
+if SUPERIO_ITE_COMMON_GPIO_PRE_RAM
+
+config SUPERIO_ITE_COMMON_NUM_GPIO_SETS
+ int
+ help
+ The maximum number of GPIO sets supported by ITE SIO chip.
+ Each SIO chip must set this config option to a proper values
+ if it intends to enable SUPERIO_ITE_COMMON_GPIO_PRE_RAM.
+
+config SUPERIO_ITE_COMMON_GPIO_LED_FREQ_5BIT
+ bool
+ default n
+ help
+ Selected ITE SIOs control the GPIO LED frequency using 5 bits
+ instead of two. The LED register layout is also different for
+ these chips. Select this if the SIO GP LED Frequency control
+ field has 5 bits and support duty cycle as well.
+
+endif
+
# Generic ITE environment controller driver
config SUPERIO_ITE_ENV_CTRL
bool