coreboot-kgpe-d16/src
Kapil Porwal 715c17a750 soc/intel/mtl: Fix GPIO group pad base for ACPI
This patch fixes MeteorLake GPIO PINCTRL entries as per 5.15
kernel pintrl driver:
https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/kernel/v5.15/drivers/pinctrl/intel/pinctrl-meteorlake.c

In order to support using ACPI GPIOs it is necessary for coreboot
to be compatible with this implementation.  The GPIO groups that
are usable by the  OS are declared with a pad base which is then
used to compute the number for ACPI GPIOs.

BUG=b:232573696
TEST=Tested on Google Rex board. After this change, driver rt5682s
is able to claim pinctrl IRQ 358 corresponding to GPP_B06.

Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Change-Id: Icabbe9e125ee9efaf0eef4c4cdc8be9f734aa703
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67565
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
2022-09-14 05:29:42 +00:00
..
acpi drivers/intel/dptf: Add multiple fan support under dptf 2022-09-04 16:48:07 +00:00
arch src: remove force-included header rules.h from individual files 2022-09-06 17:57:31 +00:00
commonlib cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
console src/console: Reformat code 2022-09-13 13:06:33 +00:00
cpu
device device/dram: Reformat code 2022-09-13 13:06:05 +00:00
drivers Revert "drivers/mrc_cache: Don't compute checksum if TPM hash is used" 2022-09-12 12:45:35 +00:00
ec ec/google/chromeec: Modify ufp from type-c role 2022-09-05 14:06:16 +00:00
include device: Clear lane error status 2022-09-12 12:41:13 +00:00
lib lib/xxhash.c: Add new hash functions 2022-09-07 22:24:51 +00:00
mainboard mb/google/dedede: Generate MS0X entry and provide variant hook 2022-09-13 16:36:04 +00:00
northbridge nb/intel/sandybridge: Align TOUUD down to 1 MiB granularity 2022-08-26 14:20:26 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security drivers/intel/ptt: Use the correct detection method 2022-09-12 12:23:19 +00:00
soc soc/intel/mtl: Fix GPIO group pad base for ACPI 2022-09-14 05:29:42 +00:00
southbridge amd/*/Makefile.inc: Put common words into common Makefile.inc 2022-09-01 16:33:54 +00:00
superio
vendorcode vc/intel/fsp: Update ADL N FSP headers from v3267.01 to v3301.00 2022-09-04 16:08:32 +00:00
Kconfig Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00