Skip to contentSkip to conversation

mfd: intel-lpss: Add Intel Cannon Lake ACPI IDs

PATCH Applied Andy Shevchenko 2 participants 4 messages Jun 3, 2021 – Jul 20, 2021

Subsystems (2)
lore
Share & tools
lore

Andy Shevchenko

author reviewer
#0 lore raw

PATCH 1/1 mfd: intel-lpss: Add Intel Cannon Lake ACPI IDs

Some of the machines, like Dell Precision 3630,
may expose LPSS devices via ACPI.

Add their IDs to the list.

---
 drivers/mfd/intel-lpss-acpi.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/mfd/intel-lpss-acpi.c +18 -0
index 1f396039d58f..3f1d976eb67c 100644
@@ -89,6 +89,11 @@ static const struct intel_lpss_platform_info apl_i2c_info = {
 	.swnode = &apl_i2c_node,
 };
 
+static const struct intel_lpss_platform_info cnl_i2c_info = {
+	.clk_rate = 216000000,
+	.swnode = &spt_i2c_node,
+};
+
 static const struct acpi_device_id intel_lpss_acpi_ids[] = {
 	/* SPT */
 	{ "INT3440", (kernel_ulong_t)&spt_info },
@@ -102,6 +107,19 @@ static const struct acpi_device_id intel_lpss_acpi_ids[] = {
 	{ "INT3448", (kernel_ulong_t)&spt_uart_info },
 	{ "INT3449", (kernel_ulong_t)&spt_uart_info },
 	{ "INT344A", (kernel_ulong_t)&spt_uart_info },
+	/* CNL */
+	{ "INT34B0", (kernel_ulong_t)&spt_info },
+	{ "INT34B1", (kernel_ulong_t)&spt_info },
+	{ "INT34B2", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B3", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B4", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B5", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B6", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B7", (kernel_ulong_t)&cnl_i2c_info },
+	{ "INT34B8", (kernel_ulong_t)&spt_uart_info },
+	{ "INT34B9", (kernel_ulong_t)&spt_uart_info },
+	{ "INT34BA", (kernel_ulong_t)&spt_uart_info },
+	{ "INT34BC", (kernel_ulong_t)&spt_info },
 	/* BXT */
 	{ "80860AAC", (kernel_ulong_t)&bxt_i2c_info },
 	{ "80860ABC", (kernel_ulong_t)&bxt_info },
Signature · 1 line
2.30.2
author reviewer
#1 lore raw
Quoted 4 lines · Andy Shevchenko

Some of the machines, like Dell Precision 3630,
may expose LPSS devices via ACPI.

Add their IDs to the list.

Lee, isn't this forgotten?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 7 lines · Andy Shevchenko
Quoted 4 lines · Andy Shevchenko

Some of the machines, like Dell Precision 3630,
may expose LPSS devices via ACPI.

Add their IDs to the list.

Lee, isn't this forgotten?

I am clearing my inbox today. Please stand-by.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Applied
#3 lore raw
In reply to Andy Shevchenko
Quoted 9 lines · Andy Shevchenko

Some of the machines, like Dell Precision 3630,
may expose LPSS devices via ACPI.

Add their IDs to the list.

---
 drivers/mfd/intel-lpss-acpi.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog