Files
system76-coreboot/src/superio/ite/it8613e/Kconfig
Michał Żygowski 1236b1c603 superio/ite: Enable common driver for GPIO and LED configuration
Enables the driver for ITE SIOs supporting the GPIO register layout
(confirmed with datasheets for the modified ITE SIO Kconfigs, SIOs
with unavailable datasheets are unmodified).

Other ITE SIOs may select it with SUPERIO_ITE_COMMON_GPIO_PRE_RAM
and must then provide the number of GPIO sets specific to a chip
via SUPERIO_ITE_COMMON_NUM_GPIO_SETS.

Change-Id: I0868ff3e9022b135c21f4c1a6746d6440b8f0798
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83468
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2024-07-19 14:35:38 +00:00

21 lines
500 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
config SUPERIO_ITE_IT8613E
bool
select SUPERIO_ITE_COMMON_PRE_RAM
select SUPERIO_ITE_COMMON_GPIO_PRE_RAM
select SUPERIO_ITE_COMMON_GPIO_LED_FREQ_5BIT
select SUPERIO_ITE_ENV_CTRL
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
select SUPERIO_ITE_ENV_CTRL_8BIT_PWM
select SUPERIO_ITE_ENV_CTRL_5FANS
select SUPERIO_ITE_ENV_CTRL_NO_ONOFF
select SUPERIO_ITE_ENV_CTRL_EXT_ANY_TMPIN
if SUPERIO_ITE_IT8613E
config SUPERIO_ITE_COMMON_NUM_GPIO_SETS
default 6
endif