ACPICA: ACPI 6.2: Add support for PinGroup() resource
ACPICA commit 7d928e3174fb19d7dc0066b03c30bea07c001563 ACPI 6.2 introduced a new resource that is used to declare set of pins belonging to a GPIO controller. This resource is referenced by new PinGroupFunction() and PinGroupConfig() resources using ResourceSource and ResourceLabel fields. The PinGroup() resource looks like this: PinGroup (ResourceLabel, ResourceUsage, DescriptorName, VendorData) {Pin List} This resource should be listed in _CRS under the GPIO/pincontroller device providing these pins. Link: https://github.com/acpica/acpica/commit/7d928e31 Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
97028ce6fc
commit
fdaa098077
@@ -354,6 +354,7 @@ const u8 acpi_gbl_resource_aml_sizes[] = {
|
||||
ACPI_AML_SIZE_LARGE(struct aml_resource_pin_function),
|
||||
ACPI_AML_SIZE_LARGE(struct aml_resource_common_serialbus),
|
||||
ACPI_AML_SIZE_LARGE(struct aml_resource_pin_config),
|
||||
ACPI_AML_SIZE_LARGE(struct aml_resource_pin_group),
|
||||
};
|
||||
|
||||
const u8 acpi_gbl_resource_aml_serial_bus_sizes[] = {
|
||||
@@ -407,6 +408,7 @@ static const u8 acpi_gbl_resource_types[] = {
|
||||
ACPI_VARIABLE_LENGTH, /* 0D pin_function */
|
||||
ACPI_VARIABLE_LENGTH, /* 0E *serial_bus */
|
||||
ACPI_VARIABLE_LENGTH, /* 0F pin_config */
|
||||
ACPI_VARIABLE_LENGTH, /* 10 pin_group */
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
|
Reference in New Issue
Block a user