diff options
author | Ronak Kanabar <ronak.kanabar@intel.com> | 2019-12-16 18:43:52 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-03 10:09:26 +0000 |
commit | 1c2313d339ba5da92d092451ec2a253acaa2563c (patch) | |
tree | c36da0a89d8260facbd20c1fb30504abca6660ed /src/soc/intel/tigerlake/Makefile.inc | |
parent | c052ba0ac11914b8b1bf4dc190a1f6b8d9b6ace1 (diff) |
soc/intel/tigerlake: Add Jasper lake GPIO support
Add gpio definition for Jasper Lake gpio controller.
Also created a separate file for JSL and TGL gpio keeping common asl file.
gpio_soc_defs.h must pass correct information/macro values to asl file
for code to work.
GPIO controller includes 4 gpio community and 10 groups. Patch adds
definition for all gpio within community and groups
Updated IRQ mapping for all gpios
TEST=Check if jslrvp and tglrvp code is compiling
Change-Id: Iae4e694ecb30658e43c5ed99e5436579fd7d2ed2
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Signed-off-by: Ronak Kanabar <ronak.kanabar@intel.com>
Signed-off-by: Usha P <usha.p@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39111
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/soc/intel/tigerlake/Makefile.inc')
-rw-r--r-- | src/soc/intel/tigerlake/Makefile.inc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/soc/intel/tigerlake/Makefile.inc b/src/soc/intel/tigerlake/Makefile.inc index 89ef877db2..9d8fa6f692 100644 --- a/src/soc/intel/tigerlake/Makefile.inc +++ b/src/soc/intel/tigerlake/Makefile.inc @@ -20,13 +20,15 @@ bootblock-y += bootblock/cpu.c bootblock-y += bootblock/pch.c bootblock-y += bootblock/report_platform.c bootblock-y += espi.c -bootblock-y += gpio.c +bootblock-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c +bootblock-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c bootblock-y += p2sb.c romstage-y += espi.c -romstage-y += gpio.c romstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += meminit_tgl.c romstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += meminit_jsl.c +romstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c +romstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c romstage-y += reset.c ramstage-y += acpi.c @@ -37,7 +39,8 @@ ramstage-y += espi.c ramstage-y += finalize.c ramstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += fsp_params_tgl.c ramstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += fsp_params_jsl.c -ramstage-y += gpio.c +ramstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c +ramstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c ramstage-y += graphics.c ramstage-y += lockdown.c ramstage-y += p2sb.c @@ -47,7 +50,8 @@ ramstage-y += smmrelocate.c ramstage-y += systemagent.c ramstage-y += sd.c -smm-y += gpio.c +smm-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c +smm-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c smm-y += p2sb.c smm-y += pmc.c smm-y += pmutil.c |