coreboot-kgpe-d16/src/soc/intel
Shaunak Saha e8338da597 soc/intel/tigerlake: Fix 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 comuinities 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 Tiger Lake Processor PCH Datasheet
with Document number:575857 and  Chapter number:27.

BUG=b:144680462
BRANCH=none
TEST=Build and boot tigerlake rvp board. In /sys/kernel/debug/pinctrl
     verify INTC34C5:0<1-3> listing all the pins for each community.
     e.g., #cat /sys/kernel/debug/pinctrl/INT34C5:00/pins should list
     all the community 0 pins.

Change-Id: I40c386db060d84c1b7fba9c587f960d6a92f84ba
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38440
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
2020-01-25 09:58:38 +00:00
..
apollolake intel/apollolake: Remove CBFS locator override 2020-01-18 10:50:50 +00:00
baytrail sb/intel/common: Declare common smbus_base() and enable_smbus() 2020-01-14 18:18:26 +00:00
braswell device,sb/intel: Move SMBus host controller prototypes 2020-01-09 21:25:41 +00:00
broadwell sb/intel/common: Declare common smbus_base() and enable_smbus() 2020-01-14 18:18:26 +00:00
cannonlake soc/intel/cannonlake/bootblock: Add CML-S 2/4-Core MCH IDs 2020-01-18 12:03:17 +00:00
common soc/intel/common: Update SA bit fields as per EDS 2020-01-23 05:06:12 +00:00
denverton_ns sb/intel/common: Add smbus_set_slave_addr() 2020-01-09 21:31:31 +00:00
icelake soc/intel/{cnl,icl,skl, tgl}: Move SOC_INTEL_COMMON_BLOCK_THERMAL into SoC specific Kconfig 2020-01-16 16:28:09 +00:00
quark {nb,soc}: Replace min/max() with MIN/MAX() 2019-12-20 17:46:37 +00:00
skylake soc/intel/skylake: Remove unused ICH memory reference 2020-01-24 22:55:44 +00:00
tigerlake soc/intel/tigerlake: Fix GPIO communities 2020-01-25 09:58:38 +00:00
Kconfig soc/intel/Kconfig: Load Tiger Lake SOC Kconfig 2019-12-11 11:37:45 +00:00