coreboot-kgpe-d16/src/soc/intel
Tan, Lean Sheng 6e9d8067ca soc/intel/elkhartlake: Update GPIO communities
GPIOs are divided into different communities. Each community
consists of one or more GPIO groups. We need to configure the
groups in coreboot so that they are mapped properly.

GPIO communities should be properly configured in GPIO_CFG and
MISCCFG registers. GPP_* defines in gpio_soc_defs.h are configured
in GPIO_CFG register while the PMC_GPP_* in pmc.h.

GPIO communities in coreboot should match with the kernel gpio
communities also. Kernel reads the ASL file from coreboot. This
patch adds the proper community mapping in ASL code to match with
kernel code. In gpio_soc_defs.c file we are indexing the groups
correctly. In gpio.h file we define all the gpio devices as kernel
populates sysfs with separate gpio device for each community. This
patch is created based on Intel EHL PCH Datasheet with Document
number 614109 and Chapter 21.

Also update GPIO COM3 Port ID and 2 GPIO register values
(HOSTSW_OWN_REG_0 & PAD_CFG_BASE) respectively.

Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com>
Change-Id: Ifc609b3d6ab9ea2b807dc0f178ec99f95d2db4cc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48555
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
2021-04-26 08:32:13 +00:00
..
alderlake soc/intel/alderlake: Use device ID from pci_devs header file 2021-04-26 08:27:54 +00:00
apollolake soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
baytrail soc/intel/baytrail/pmutil.c: Define __SIMPLE_DEVICE__ 2021-04-19 10:45:15 +00:00
braswell soc/intel/braswell/pmutil.c: Define __SIMPLE_DEVICE__ 2021-04-19 10:45:06 +00:00
broadwell soc/intel/broadwell/pch/acpi: Fix LPD0 and LPD3 methods 2021-04-21 14:22:19 +00:00
cannonlake soc/intel/cannonlake: set MSR LT_LOCK_MEMORY at end of POST 2021-04-22 22:44:57 +00:00
common soc/intel/common,skl: set MSR LT_LOCK_MEMORY once, not per thread 2021-04-22 19:41:29 +00:00
denverton_ns soc/intel/dnv_ns: hook up new gpio device operations 2021-04-08 06:49:55 +00:00
elkhartlake soc/intel/elkhartlake: Update GPIO communities 2021-04-26 08:32:13 +00:00
icelake soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
jasperlake soc/intel/jasperlake: Remove TCSS setting from the DMAR table 2021-04-23 14:48:04 +00:00
quark
skylake soc/intel/skylake: set MSR LT_LOCK_MEMORY only when using native MP init 2021-04-22 19:42:05 +00:00
tigerlake soc/intel/tigerlake: Use device ID from pci_devs header file 2021-04-26 08:27:34 +00:00
xeon_sp soc/intel/xeon_sp/cpx: Add UPI locks 2021-04-23 14:52:14 +00:00
Kconfig