diff options
author | Nico Huber <nico.huber@secunet.com> | 2016-09-29 12:33:01 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-11-17 11:27:38 +0100 |
commit | e34e178ca3f31064e9c4cced4243524d08579007 (patch) | |
tree | b25104e3f9c50c0c7cd84490aed86dc59e2b5d76 /src/superio/ite/common/Kconfig | |
parent | c70cc4d70d1205abe6bc7c06039f2b8443234709 (diff) |
sio/ite/common: Add generic environment-controller driver
The environment-controller entity is shared by many ITE super-i/o
chips. There are some differences between the chips, though. To cover
that, the super-i/o chip should select Kconfig options of this driver
accordingly.
The current implementation isn't exhaustive: It covers only those
parts that are connected on boards I could test, plus those that are
currently used by the IT8772F. The latter could be ported to use this
driver if somebody minds to test it.
Change-Id: I7a40f677f667d103ce1d09a3e468915729067803
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17284
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/superio/ite/common/Kconfig')
-rw-r--r-- | src/superio/ite/common/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig index 165944b7e2..162b7f1545 100644 --- a/src/superio/ite/common/Kconfig +++ b/src/superio/ite/common/Kconfig @@ -3,6 +3,7 @@ ## ## Copyright (C) 2009 Ronald G. Minnich ## Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com> +## Copyright (C) 2016 secunet Security Networks AG ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -18,3 +19,26 @@ # romstage. config SUPERIO_ITE_COMMON_ROMSTAGE bool + +# Generic ITE environment controller driver +config SUPERIO_ITE_ENV_CTRL + bool + +if SUPERIO_ITE_ENV_CTRL + +config SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG + bool + help + Enable extended, 16-bit wide tacho counters. + +config SUPERIO_ITE_ENV_CTRL_8BIT_PWM + bool + help + PWM duty cycles are set in 8-bit registers (instead of 7 bit). + +config SUPERIO_ITE_ENV_CTRL_PWM_FREQ2 + bool + help + The second FAN controller has a separate frequency setting. + +endif |