Skip to contentSkip to conversation

ACPI: add Haswell LPSS devices to acpi_platform_device_ids list

PATCH Applied Mika Westerberg 3 participants 5 messages Dec 7, 2012 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: add Haswell LPSS devices to acpi_platform_device_ids list

All devices behind Haswell LPSS (Low Power Subsystem) should be represented as platform devices so add them to the acpi_platform_device_ids list.

---
 drivers/acpi/scan.c |   10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/acpi/scan.c +10 -0
index 67a7fa6..8ee379e 100644
@@ -37,6 +37,16 @@ static const struct acpi_device_id acpi_platform_device_ids[] = {
 
 	{ "PNP0D40" },
 
+	/* Haswell LPSS devices */
+	{ "INT33C0", 0 },
+	{ "INT33C1", 0 },
+	{ "INT33C2", 0 },
+	{ "INT33C3", 0 },
+	{ "INT33C4", 0 },
+	{ "INT33C5", 0 },
+	{ "INT33C6", 0 },
+	{ "INT33C7", 0 },
+
 	{ }
 };
 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 2 lines · On Fri, 7 Dec 2012 12:08:02 +0200 Mika Westerberg…

All devices behind Haswell LPSS (Low Power Subsystem) should be represented as platform devices

What about the bus heirarchy ? What about making sure they appear in the PCI resource heirarchy so we don't mash them up if we reassign or allocate other resources on the bus ?

Alan

#2 lore raw
Quoted 9 lines · Alan Cox
Quoted 2 lines · On Fri, 7 Dec 2012 12:08:02 +0200 Mika Westerberg…

All devices behind Haswell LPSS (Low Power Subsystem) should be represented as platform devices

What about the bus heirarchy ? What about making sure they appear in the PCI resource heirarchy so we don't mash them up if we reassign or allocate other resources on the bus ?

I'm not sure if I understand what you mean here.

We put them in hierarchy if the parent ACPI node has also a physical device bound to it (like PCIe root port).

#3 lore raw
Quoted 4 lines

I'm not sure if I understand what you mean here.

We put them in hierarchy if the parent ACPI node has also a physical device bound to it (like PCIe root port).

Ok

#4 lore raw
In reply to Mika Westerberg
Quoted 4 lines · Mika Westerberg

All devices behind Haswell LPSS (Low Power Subsystem) should be represented as platform devices so add them to the acpi_platform_device_ids list.

Applied.

Thanks,
Rafael

Quoted 26 lines
---
 drivers/acpi/scan.c |   10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/acpi/scan.c +10 -0
index 67a7fa6..8ee379e 100644
@@ -37,6 +37,16 @@ static const struct acpi_device_id acpi_platform_device_ids[] = {
 
 	{ "PNP0D40" },
 
+	/* Haswell LPSS devices */
+	{ "INT33C0", 0 },
+	{ "INT33C1", 0 },
+	{ "INT33C2", 0 },
+	{ "INT33C3", 0 },
+	{ "INT33C4", 0 },
+	{ "INT33C5", 0 },
+	{ "INT33C6", 0 },
+	{ "INT33C7", 0 },
+
 	{ }
 };
 
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.