linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules
@ 2015-12-23 13:07 Heikki Krogerus
  2015-12-23 15:28 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Heikki Krogerus @ 2015-12-23 13:07 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

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

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

diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 9312722..ba6d61d 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -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 },
 	{ },
-- 
2.6.4


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

* Re: [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules
  2015-12-23 13:07 [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules Heikki Krogerus
@ 2015-12-23 15:28 ` Marcel Holtmann
  2015-12-28  8:49   ` Heikki Krogerus
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2015-12-23 15:28 UTC (permalink / raw)
  To: Heikki Krogerus; +Cc: Johannes Berg, linux-wireless

Hi Heikki,

> These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.
> 
> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> net/rfkill/rfkill-gpio.c | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
> index 9312722..ba6d61d 100644
> --- a/net/rfkill/rfkill-gpio.c
> +++ b/net/rfkill/rfkill-gpio.c
> @@ -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 },
> 	{ },

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


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

* Re: [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules
  2015-12-23 15:28 ` Marcel Holtmann
@ 2015-12-28  8:49   ` Heikki Krogerus
  0 siblings, 0 replies; 3+ messages in thread
From: Heikki Krogerus @ 2015-12-28  8:49 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: Johannes Berg, Frederic Danis, linux-wireless

On Wed, Dec 23, 2015 at 04:28:59PM +0100, Marcel Holtmann wrote:
> Hi Heikki,
> 
> > These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.
> > 
> > Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> > ---
> > net/rfkill/rfkill-gpio.c | 3 +++
> > 1 file changed, 3 insertions(+)
> > 
> > diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
> > index 9312722..ba6d61d 100644
> > --- a/net/rfkill/rfkill-gpio.c
> > +++ b/net/rfkill/rfkill-gpio.c
> > @@ -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 },
> > 	{ },
> 
> 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,

-- 
heikki

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

end of thread, other threads:[~2015-12-28  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 13:07 [PATCH] net: rfkill-gpio: more ACPI IDs for BCM Blutooth modules Heikki Krogerus
2015-12-23 15:28 ` Marcel Holtmann
2015-12-28  8:49   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).