diff options
author | Shaunak Saha <shaunak.saha@intel.com> | 2020-01-15 11:43:19 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-25 09:58:38 +0000 |
commit | e8338da597f892d333af9bb77ab89289b8140633 (patch) | |
tree | 810b72f65b26795cc9eee307d592fc5620836b4a /src/mainboard/intel/jasperlake_rvp/variants/baseboard/include | |
parent | b38586f77f97d2a294bea14be26daa29068c6e40 (diff) |
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>
Diffstat (limited to 'src/mainboard/intel/jasperlake_rvp/variants/baseboard/include')
0 files changed, 0 insertions, 0 deletions