Skip to contentSkip to conversation

ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips

PATCH Applied Heikki Krogerus 3 participants 6 messages May 8, 2014 – May 19, 2014 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips

These IDs are used on Baytrail boards such as Lenovo Miix 2 and Asus Transformer Book T100TA. On lenovo Miix 2 8", BCM4752 is called LNV4752. All the rest of the IDs are for Broadcom BCM43241 module with the ID referring to different revision number.

---
 drivers/acpi/acpi_platform.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/acpi/acpi_platform.c +4 -0
index 1d49503..34a64c5 100644
@@ -31,6 +31,10 @@ static const struct acpi_device_id acpi_platform_device_ids[] = {
 	{ "PNP0D40" },
 	{ "VPC2004" },
 	{ "BCM4752" },
+	{ "LNV4752" },
+	{ "BCM2E1A" },
+	{ "BCM2E39" },
+	{ "BCM2E3D" },
 
 	/* Intel Smart Sound Technology */
 	{ "INT33C8" },
Signature · 1 line
2.0.0.rc2
#1 lore raw

Am Donnerstag, 8. Mai 2014, 14:59:04 schrieb Heikki Krogerus:

Quoted 5 lines

These IDs are used on Baytrail boards such as Lenovo Miix 2 and Asus Transformer Book T100TA. On lenovo Miix 2 8", BCM4752 is called LNV4752. All the rest of the IDs are for Broadcom BCM43241 module with the ID referring to different revision number.

Hi,

the AzureWave AW-AH691A module looks similar to me, it is identified as AAM4752. However if I add it to that list I don't get anything, even with the brcmfmac driver loaded. Is there any magic missing?

Greetings,

Eike

Signature · 7 lines
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Bertha-von-Suttner-Str. 9, 37085 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source
#2 lore raw

Hi Rolf,

Quoted 10 lines · Rolf Eike Beer

Am Donnerstag, 8. Mai 2014, 14:59:04 schrieb Heikki Krogerus:

Quoted 5 lines

These IDs are used on Baytrail boards such as Lenovo Miix 2 and Asus Transformer Book T100TA. On lenovo Miix 2 8", BCM4752 is called LNV4752. All the rest of the IDs are for Broadcom BCM43241 module with the ID referring to different revision number.

the AzureWave AW-AH691A module looks similar to me, it is identified as AAM4752. However if I add it to that list I don't get anything, even with the brcmfmac driver loaded. Is there any magic missing?

Which machine are you using? Could you attach the output of acpidump?

Thanks,

Signature · 1 line
heikki
#3 lore raw
Quoted 10 lines · Heikki Krogerus

Hi Rolf,

Quoted 7 lines · Rolf Eike Beer

Am Donnerstag, 8. Mai 2014, 14:59:04 schrieb Heikki Krogerus:

Quoted 5 lines

These IDs are used on Baytrail boards such as Lenovo Miix 2 and Asus Transformer Book T100TA. On lenovo Miix 2 8", BCM4752 is called LNV4752. All the rest of the IDs are for Broadcom BCM43241 module with the ID referring to different revision number.

Quoted 5 lines
Quoted 3 lines

the AzureWave AW-AH691A module looks similar to me, it is identified as AAM4752. However if I add it to that list I don't get anything, even with the brcmfmac driver loaded. Is there any magic missing?

Which machine are you using? Could you attach the output of acpidump?

Hi Heikki,

this is an Aava Inari 8 tablet (pre-release hardware). To avoid spamming the list with the same DSDT twice, please have a look at my reply in the thread "Re: [Patch V2 0/9] I2C ACPI operation region handler support".

Greetings,

Eike

Signature · 7 lines
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Bertha-von-Suttner-Str. 9, 37085 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source
#4 lore raw

Hi,

Quoted 10 lines · Rolf Eike Beer
Quoted 5 lines · Heikki Krogerus
Quoted 3 lines

the AzureWave AW-AH691A module looks similar to me, it is identified as AAM4752. However if I add it to that list I don't get anything, even with the brcmfmac driver loaded. Is there any magic missing?

Which machine are you using? Could you attach the output of acpidump?

this is an Aava Inari 8 tablet (pre-release hardware). To avoid spamming the list with the same DSDT twice, please have a look at my reply in the thread "Re: [Patch V2 0/9] I2C ACPI operation region handler support".

Okay. So the AAM4752 is a GPS module attached to the UART. You need to add the HID to the list in drivers/acpi/acpi_platform.c and also to the driver, which is net/rfkill/rfkill-gpio.c in this case.

But that will only give you a rfkill switch that allows you to control the enable signal of the chip via rfkill framework. The actual communication with the chip happens from userspace via /dev/ttySx (/dev/ttyS2 on your board), just like with any other peripheral attached to UARTs. So no drivers needed for that.

Br,

Signature · 1 line
heikki
#5 lore raw
In reply to Heikki Krogerus
Quoted 7 lines · Heikki Krogerus

These IDs are used on Baytrail boards such as Lenovo Miix 2 and Asus Transformer Book T100TA. On lenovo Miix 2 8", BCM4752 is called LNV4752. All the rest of the IDs are for Broadcom BCM43241 module with the ID referring to different revision number.

Queued up for 3.16, thanks!

Quoted 20 lines
---
 drivers/acpi/acpi_platform.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/acpi/acpi_platform.c +4 -0
index 1d49503..34a64c5 100644
@@ -31,6 +31,10 @@ static const struct acpi_device_id acpi_platform_device_ids[] = {
 	{ "PNP0D40" },
 	{ "VPC2004" },
 	{ "BCM4752" },
+	{ "LNV4752" },
+	{ "BCM2E1A" },
+	{ "BCM2E39" },
+	{ "BCM2E3D" },
 
 	/* Intel Smart Sound Technology */
 	{ "INT33C8" },
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.