All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio
@ 2016-01-04 12:23 Heikki Krogerus
  2016-01-04 12:23 ` [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver Heikki Krogerus
  2016-01-04 12:23 ` [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs Heikki Krogerus
  0 siblings, 2 replies; 5+ messages in thread
From: Heikki Krogerus @ 2016-01-04 12:23 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo Padovan, Johan Hedberg, Johannes Berg, linux-bluetooth,
	linux-kernel

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(-)

-- 
2.6.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver
  2016-01-04 12:23 [PATCH 0/2] Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio Heikki Krogerus
@ 2016-01-04 12:23 ` Heikki Krogerus
  2016-01-04 18:25   ` Marcel Holtmann
  2016-01-04 12:23 ` [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs Heikki Krogerus
  1 sibling, 1 reply; 5+ messages in thread
From: Heikki Krogerus @ 2016-01-04 12:23 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo Padovan, Johan Hedberg, Johannes Berg, linux-bluetooth,
	linux-kernel

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.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
---
 drivers/bluetooth/hci_bcm.c | 4 ++++
 net/rfkill/rfkill-gpio.c    | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 5c7c696..abf13a7 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -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 },
 	{ },
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 9312722..4b1e3f3 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -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 },
 	{ },
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs
  2016-01-04 12:23 [PATCH 0/2] Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio Heikki Krogerus
  2016-01-04 12:23 ` [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver Heikki Krogerus
@ 2016-01-04 12:23 ` Heikki Krogerus
  2016-01-04 18:25   ` Marcel Holtmann
  1 sibling, 1 reply; 5+ messages in thread
From: Heikki Krogerus @ 2016-01-04 12:23 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Gustavo Padovan, Johan Hedberg, Johannes Berg, linux-bluetooth,
	linux-kernel

These are used at least by Acer with BCM43241.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 drivers/bluetooth/hci_bcm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index abf13a7..5f3de18 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -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);
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs
  2016-01-04 12:23 ` [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs Heikki Krogerus
@ 2016-01-04 18:25   ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2016-01-04 18:25 UTC (permalink / raw)
  To: Heikki Krogerus
  Cc: Gustavo F. Padovan, Johan Hedberg, Johannes Berg,
	linux-bluetooth, linux-kernel

Hi Heikki,

> These are used at least by Acer with BCM43241.
> 
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/bluetooth/hci_bcm.c | 3 +++
> 1 file changed, 3 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver
  2016-01-04 12:23 ` [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver Heikki Krogerus
@ 2016-01-04 18:25   ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2016-01-04 18:25 UTC (permalink / raw)
  To: Heikki Krogerus
  Cc: Gustavo F. Padovan, Johan Hedberg, Johannes Berg,
	linux-bluetooth, linux-kernel

Hi Heikki,

> 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.
> 
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> Cc: Johannes Berg <johannes@sipsolutions.net>
> ---
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-04 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-04 12:23 [PATCH 0/2] Bluetooth: hci_bcm: drop BCM43241 support from rfkill_gpio Heikki Krogerus
2016-01-04 12:23 ` [PATCH 1/2] Bluetooth: hci_bcm/rfkill-gpio: move all Broadcom ACPI IDs to BCM HCI driver Heikki Krogerus
2016-01-04 18:25   ` Marcel Holtmann
2016-01-04 12:23 ` [PATCH 2/2] Bluetooth: hci_bcm: new ACPI IDs Heikki Krogerus
2016-01-04 18:25   ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.