From aa2504a10e1106368cf5ec2e54e0083ee62057fb Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 14 Jul 2017 16:53:49 -0600 Subject: soc/intel/common/gpio: distingiush single vs multi acpi devices Sadly, small core and big core are not aligned with the OS driver's expectation on the number of ACPI devices used for each community. Big core uses a single device while small cores use one ACPI device per community. Allow for this distinction within the common gpio implementation and ensure apollolake is utilizing the new option to retain the correct behavior. Change-Id: I7c7535c36221139ad6c9adde2df10b80eb5c596a Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/20588 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/common/block/gpio/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc/intel/common/block/gpio/Kconfig') diff --git a/src/soc/intel/common/block/gpio/Kconfig b/src/soc/intel/common/block/gpio/Kconfig index bd2651f637..6d712e9585 100644 --- a/src/soc/intel/common/block/gpio/Kconfig +++ b/src/soc/intel/common/block/gpio/Kconfig @@ -34,3 +34,9 @@ config SOC_INTEL_COMMON_BLOCK_GPIO_LEGACY_MACROS depends on SOC_INTEL_COMMON_BLOCK_GPIO bool default n + +# Indicate if multiple ACPI devices are used for each gpio community. +config SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES + depends on SOC_INTEL_COMMON_BLOCK_GPIO + bool + default n -- cgit v1.2.3