|
@@ -81,6 +81,7 @@ struct acpi_rsconvert_info *acpi_gbl_set_resource_dispatch[] = {
|
|
|
acpi_rs_convert_fixed_dma, /* 0x12, ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
acpi_rs_convert_fixed_dma, /* 0x12, ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
|
NULL, /* 0x13, ACPI_RESOURCE_TYPE_SERIAL_BUS - Use subtype table below */
|
|
NULL, /* 0x13, ACPI_RESOURCE_TYPE_SERIAL_BUS - Use subtype table below */
|
|
|
acpi_rs_convert_pin_function, /* 0x14, ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
acpi_rs_convert_pin_function, /* 0x14, ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
|
|
|
+ acpi_rs_convert_pin_config, /* 0x15, ACPI_RESOURCE_TYPE_PIN_CONFIG */
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/* Dispatch tables for AML-to-resource (Get Resource) conversion functions */
|
|
/* Dispatch tables for AML-to-resource (Get Resource) conversion functions */
|
|
@@ -122,6 +123,7 @@ struct acpi_rsconvert_info *acpi_gbl_get_resource_dispatch[] = {
|
|
|
acpi_rs_convert_gpio, /* 0x0C, ACPI_RESOURCE_NAME_GPIO */
|
|
acpi_rs_convert_gpio, /* 0x0C, ACPI_RESOURCE_NAME_GPIO */
|
|
|
acpi_rs_convert_pin_function, /* 0x0D, ACPI_RESOURCE_NAME_PIN_FUNCTION */
|
|
acpi_rs_convert_pin_function, /* 0x0D, ACPI_RESOURCE_NAME_PIN_FUNCTION */
|
|
|
NULL, /* 0x0E, ACPI_RESOURCE_NAME_SERIAL_BUS - Use subtype table below */
|
|
NULL, /* 0x0E, ACPI_RESOURCE_NAME_SERIAL_BUS - Use subtype table below */
|
|
|
|
|
+ acpi_rs_convert_pin_config, /* 0x0F, ACPI_RESOURCE_NAME_PIN_CONFIG */
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/* Subtype table for serial_bus -- I2C, SPI, and UART */
|
|
/* Subtype table for serial_bus -- I2C, SPI, and UART */
|
|
@@ -159,6 +161,7 @@ struct acpi_rsdump_info *acpi_gbl_dump_resource_dispatch[] = {
|
|
|
acpi_rs_dump_fixed_dma, /* ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
acpi_rs_dump_fixed_dma, /* ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
|
NULL, /* ACPI_RESOURCE_TYPE_SERIAL_BUS */
|
|
NULL, /* ACPI_RESOURCE_TYPE_SERIAL_BUS */
|
|
|
acpi_rs_dump_pin_function, /* ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
acpi_rs_dump_pin_function, /* ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
|
|
|
+ acpi_rs_dump_pin_config, /* ACPI_RESOURCE_TYPE_PIN_CONFIG */
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
struct acpi_rsdump_info *acpi_gbl_dump_serial_bus_dispatch[] = {
|
|
struct acpi_rsdump_info *acpi_gbl_dump_serial_bus_dispatch[] = {
|
|
@@ -196,6 +199,7 @@ const u8 acpi_gbl_aml_resource_sizes[] = {
|
|
|
sizeof(struct aml_resource_fixed_dma), /* ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
sizeof(struct aml_resource_fixed_dma), /* ACPI_RESOURCE_TYPE_FIXED_DMA */
|
|
|
sizeof(struct aml_resource_common_serialbus), /* ACPI_RESOURCE_TYPE_SERIAL_BUS */
|
|
sizeof(struct aml_resource_common_serialbus), /* ACPI_RESOURCE_TYPE_SERIAL_BUS */
|
|
|
sizeof(struct aml_resource_pin_function), /* ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
sizeof(struct aml_resource_pin_function), /* ACPI_RESOURCE_TYPE_PIN_FUNCTION */
|
|
|
|
|
+ sizeof(struct aml_resource_pin_config), /* ACPI_RESOURCE_TYPE_PIN_CONFIG */
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const u8 acpi_gbl_resource_struct_sizes[] = {
|
|
const u8 acpi_gbl_resource_struct_sizes[] = {
|
|
@@ -234,7 +238,8 @@ const u8 acpi_gbl_resource_struct_sizes[] = {
|
|
|
ACPI_RS_SIZE(struct acpi_resource_extended_address64),
|
|
ACPI_RS_SIZE(struct acpi_resource_extended_address64),
|
|
|
ACPI_RS_SIZE(struct acpi_resource_gpio),
|
|
ACPI_RS_SIZE(struct acpi_resource_gpio),
|
|
|
ACPI_RS_SIZE(struct acpi_resource_pin_function),
|
|
ACPI_RS_SIZE(struct acpi_resource_pin_function),
|
|
|
- ACPI_RS_SIZE(struct acpi_resource_common_serialbus)
|
|
|
|
|
|
|
+ ACPI_RS_SIZE(struct acpi_resource_common_serialbus),
|
|
|
|
|
+ ACPI_RS_SIZE(struct acpi_resource_pin_config),
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const u8 acpi_gbl_aml_resource_serial_bus_sizes[] = {
|
|
const u8 acpi_gbl_aml_resource_serial_bus_sizes[] = {
|