soc/intel/alderlake: add GPIO definitions for PCH-S
commitfebaf2f4131257bc79582784af9ef89b38a37236
authorMichał Kopeć <michal.kopec@3mdeb.com>
Thu, 7 Apr 2022 12:14:31 +0000 (7 14:14 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 22 Jun 2022 17:35:43 +0000 (22 17:35 +0000)
treee82ddb89f9e64e0d4196861450bf0d81f7e77c50
parent619bb074945bd5acabd0588dcb1371b8c94108d2
soc/intel/alderlake: add GPIO definitions for PCH-S

Add GPIO definitions for ADL-S, similarly to how TGL/TGL-H handles
the split.

Based on:
- Intel PCH-S EDS Vol2 (#621483)
- Alderlake-S FSP
- slimbootloader sources
- Linux alderlake-pinctrl driver

Change-Id: I0fd1dc645c19c33bf14424703f966271e884ed3d
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63467
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/alderlake/Makefile.inc
src/soc/intel/alderlake/acpi/gpio.asl
src/soc/intel/alderlake/fsp_params.c
src/soc/intel/alderlake/gpio_pch_s.c [new file with mode: 0644]
src/soc/intel/alderlake/include/soc/gpio.h
src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h [new file with mode: 0644]
src/soc/intel/alderlake/include/soc/gpio_soc_defs_pch_s.h [new file with mode: 0644]
src/soc/intel/alderlake/include/soc/pmc.h
src/soc/intel/alderlake/romstage/fsp_params.c