Skip to contentSkip to conversation

ACPI / LPSS: add lpss device for wpt

PATCH New Jie Yang 1 participant 1 message Jul 31, 2014 ACPI

lore
Share & tools
lore

Jie Yang

author
#0 lore raw

PATCH 1/1 ACPI / LPSS: add lpss device for wpt

Add lpss device "INT3438" for wpt, which also require clock before the dma engine who is built in ADSP probing. Otherwise, the probing may faild.

---
 drivers/acpi/acpi_lpss.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/acpi/acpi_lpss.c +10 -0
index 9cb65b0..ce06149 100644
@@ -113,6 +113,14 @@ static void lpss_i2c_setup(struct lpss_private_data *pdata)
 	writel(val, pdata->mmio_base + offset);
 }
 
+static struct lpss_device_desc wpt_dev_desc = {
+	.clk_required = true,
+	.prv_offset = 0x800,
+	.ltr_required = true,
+	.clk_divider = true,
+	.clk_gate = true,
+};
+
 static struct lpss_device_desc lpt_dev_desc = {
 	.clk_required = true,
 	.prv_offset = 0x800,
@@ -226,6 +234,8 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
 	{ "INT3436", LPSS_ADDR(lpt_sdio_dev_desc) },
 	{ "INT3437", },
 
+	{ "INT3438", LPSS_ADDR(wpt_dev_desc) },
+
 	{ }
 };
 
Signature · 1 line
1.8.3.2