Add BCM47521 (GPS) to the ACPI table. BCM47521 supports host wake. HOST <---UART---> CONTROLLER HOST <-- WAKE---- CONTROLLER (gpio res 0) HOST ---ENABLE--> CONTROLLER (gpio res 1)
Signed-off-by: Loic Poulain <loic.poul...@intel.com> --- net/rfkill/rfkill-gpio.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 28d1cbf..da239ef 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/net/rfkill/rfkill-gpio.c @@ -309,6 +309,14 @@ static struct rfkill_gpio_desc acpi_bluetooth_wake = { .host_wake_idx = 2, }; +static struct rfkill_gpio_desc acpi_gps_wake = { + .type = RFKILL_TYPE_GPS, + .reset_idx = -1, + .shutdown_idx = 1, + .wake_idx = -1, + .host_wake_idx = 0, +}; + static const struct acpi_device_id rfkill_acpi_match[] = { { "BCM2E1A", (kernel_ulong_t)&acpi_default_bluetooth }, { "BCM2E39", (kernel_ulong_t)&acpi_default_bluetooth }, @@ -317,6 +325,7 @@ static const struct acpi_device_id rfkill_acpi_match[] = { { "OBDA8723", (kernel_ulong_t)&acpi_bluetooth_wake }, { "BCM4752", (kernel_ulong_t)&acpi_default_gps }, { "LNV4752", (kernel_ulong_t)&acpi_default_gps }, + { "BCM47521", (kernel_ulong_t)&acpi_gps_wake }, { }, }; MODULE_DEVICE_TABLE(acpi, rfkill_acpi_match); -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html