diff options
author | Kapil Porwal <kapilporwal@google.com> | 2022-09-13 00:13:50 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2022-09-14 05:29:42 +0000 |
commit | 715c17a750e5377df353eb93e4ca5fda395e4225 (patch) | |
tree | b09f476986053bb3236eb8ae81a9582c047e3339 /LICENSES/BSD-2-Clause.txt | |
parent | 64c77dc299bf4e9dbcb4e553378325bcd02e5df8 (diff) |
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>
Diffstat (limited to 'LICENSES/BSD-2-Clause.txt')
0 files changed, 0 insertions, 0 deletions