Skip to contentSkip to conversation

Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio

PATCH In review Heikki Krogerus 2 participants 5 messages Jan 4, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio

Now that drivers/bluetooth/hci_bcm.c is able to handle the GPIOs assigned to BCM43241, there is absolutely no reason to continue supporting the module in rfkill_gpio.

Heikki Krogerus (2):
Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI
driver
Bluetooth: hci_bcm: new ACPI IDs

 drivers/bluetooth/hci_bcm.c | 7 +++++++
 net/rfkill/rfkill-gpio.c    | 4 ----
 2 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.6.4
#1 lore raw

PATCH 1/2 Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver

The IDs should all be for Broadcom BCM43241 module, and hci_bcm is now the proper driver for them. This removes one of two different ways of handling PM with the module.

---
 drivers/bluetooth/hci_bcm.c | 4 ++++
 net/rfkill/rfkill-gpio.c    | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/bluetooth/hci_bcm.c +4 -0
index 5c7c696..abf13a7 100644
@@ -814,7 +814,11 @@ static const struct hci_uart_proto bcm_proto = {
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id bcm_acpi_match[] = {
+	{ "BCM2E1A", 0 },
 	{ "BCM2E39", 0 },
+	{ "BCM2E3D", 0 },
+	{ "BCM2E40", 0 },
+	{ "BCM2E64", 0 },
 	{ "BCM2E65", 0 },
 	{ "BCM2E67", 0 },
 	{ },
net/rfkill/rfkill-gpio.c +0 -4
index 9312722..4b1e3f3 100644
@@ -163,10 +163,6 @@ static int rfkill_gpio_remove(struct platform_device *pdev)
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rfkill_acpi_match[] = {
-	{ "BCM2E1A", RFKILL_TYPE_BLUETOOTH },
-	{ "BCM2E3D", RFKILL_TYPE_BLUETOOTH },
-	{ "BCM2E40", RFKILL_TYPE_BLUETOOTH },
-	{ "BCM2E64", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM4752", RFKILL_TYPE_GPS },
 	{ "LNV4752", RFKILL_TYPE_GPS },
 	{ },
Signature · 1 line
2.6.4
#3 lore raw

PATCH 2/2 Bluetooth: hci_bcm: new ACPI IDs

In reply to Heikki Krogerus

These are used at least by Acer with BCM43241.

---
 drivers/bluetooth/hci_bcm.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/hci_bcm.c +3 -0
index abf13a7..5f3de18 100644
@@ -816,11 +816,14 @@ static const struct hci_uart_proto bcm_proto = {
 static const struct acpi_device_id bcm_acpi_match[] = {
 	{ "BCM2E1A", 0 },
 	{ "BCM2E39", 0 },
+	{ "BCM2E3A", 0 },
 	{ "BCM2E3D", 0 },
+	{ "BCM2E3F", 0 },
 	{ "BCM2E40", 0 },
 	{ "BCM2E64", 0 },
 	{ "BCM2E65", 0 },
 	{ "BCM2E67", 0 },
+	{ "BCM2E7B", 0 },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, bcm_acpi_match);
Signature · 1 line
2.6.4
maintainer
#4 lore raw

Re: [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs

Hi Heikki,

Quoted 6 lines

These are used at least by Acer with BCM43241.

---
drivers/bluetooth/hci_bcm.c | 3 +++

1 file changed, 3 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

maintainer
#2 lore raw

Re: [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver

In reply to Heikki Krogerus

Hi Heikki,

Quoted 10 lines

The IDs should all be for Broadcom BCM43241 module, and hci_bcm is now the proper driver for them. This removes one of two different ways of handling PM with the module.

---
drivers/bluetooth/hci_bcm.c | 4 ++++
net/rfkill/rfkill-gpio.c | 4 ----

2 files changed, 4 insertions(+), 4 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel