Skip to contentSkip to conversation

net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules

PATCH In review Heikki Krogerus 2 participants 3 messages Dec 23, 2015 – Dec 28, 2015 Rfkill

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules

These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.

---
 net/rfkill/rfkill-gpio.c | 3 +++
 1 file changed, 3 insertions(+)
net/rfkill/rfkill-gpio.c +3 -0
index 9312722..ba6d61d 100644
@@ -164,9 +164,12 @@ 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 },
+	{ "BCM2E3A", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E3D", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E3F", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E40", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E64", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E7B", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM4752", RFKILL_TYPE_GPS },
 	{ "LNV4752", RFKILL_TYPE_GPS },
 	{ },
Signature · 1 line
2.6.4
#1 lore raw

Hi Heikki,

Quoted 14 lines

These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.

---
net/rfkill/rfkill-gpio.c | 3 +++

1 file changed, 3 insertions(+)
net/rfkill/rfkill-gpio.c +0 -0
index 9312722..ba6d61d 100644
@@ -164,9 +164,12 @@ static int rfkill_gpio_remove(struct platform_device *pdev)
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rfkill_acpi_match[] = {

net/rfkill/rfkill-gpio.c static int rfkill_gpio_remove(struct platform_device *pdev) · line 175

Quoted 10 lines
net/rfkill/rfkill-gpio.c +3 -0
 	{ "BCM2E1A", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E3A", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E3D", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E3F", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E40", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E64", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E7B", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM4752", RFKILL_TYPE_GPS },
 	{ "LNV4752", RFKILL_TYPE_GPS },
 	{ },

I am actually not convinced that these should be added here. We are driving the Broadcom chips via drivers/bluetooth/hci_bcm.c and I pretty sure that these devices should be added there. We moved a few of the existing ones already over, but I have the feeling that in the end all should be moved.

Regards

Marcel

#2 lore raw
Quoted 23 lines · Marcel Holtmann

Hi Heikki,

Quoted 21 lines

These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.

---
net/rfkill/rfkill-gpio.c | 3 +++

1 file changed, 3 insertions(+)
net/rfkill/rfkill-gpio.c +3 -0
index 9312722..ba6d61d 100644
@@ -164,9 +164,12 @@ 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 },
+	{ "BCM2E3A", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E3D", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E3F", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E40", RFKILL_TYPE_BLUETOOTH },
 	{ "BCM2E64", RFKILL_TYPE_BLUETOOTH },
+	{ "BCM2E7B", RFKILL_TYPE_BLUETOOTH },
Quoted 8 lines

net/rfkill/rfkill-gpio.c static int rfkill_gpio_remove(struct platform_device *pdev) · line 175

Quoted 3 lines
net/rfkill/rfkill-gpio.c +0 -0
 	{ "BCM4752", RFKILL_TYPE_GPS },
 	{ "LNV4752", RFKILL_TYPE_GPS },
 	{ },

I am actually not convinced that these should be added here. We are driving the Broadcom chips via drivers/bluetooth/hci_bcm.c and I pretty sure that these devices should be added there. We moved a few of the existing ones already over, but I have the feeling that in the end all should be moved.

I totally agree! That is so much better! Frederic did tell me about adding ACPI support to that driver, but I forgot. Sorry about that.

So Johannes, forget about this patch. I'll create a patch where I'll propose these ID's to that driver instead. I can also prepare patch where we move the other BCM2Exx ACPI IDs to drivers/bluetooth/hci_bcm.c at the same time if you like.

Thanks,

Signature · 1 line
heikki