2021-06-03 16:52:47

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 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.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/mfd/intel-lpss-acpi.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/drivers/mfd/intel-lpss-acpi.c b/drivers/mfd/intel-lpss-acpi.c
index 1f396039d58f..3f1d976eb67c 100644
--- a/drivers/mfd/intel-lpss-acpi.c
+++ b/drivers/mfd/intel-lpss-acpi.c
@@ -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 },
--
2.30.2


2021-07-12 13:37:30

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] mfd: intel-lpss: Add Intel Cannon Lake ACPI IDs

On Thu, Jun 03, 2021 at 07:51:28PM +0300, Andy Shevchenko wrote:
> 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?

--
With Best Regards,
Andy Shevchenko


2021-07-13 08:30:41

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] mfd: intel-lpss: Add Intel Cannon Lake ACPI IDs

On Mon, 12 Jul 2021, Andy Shevchenko wrote:

> On Thu, Jun 03, 2021 at 07:51:28PM +0300, Andy Shevchenko wrote:
> > 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.

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

2021-07-20 15:55:46

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] mfd: intel-lpss: Add Intel Cannon Lake ACPI IDs

On Thu, 03 Jun 2021, Andy Shevchenko wrote:

> Some of the machines, like Dell Precision 3630,
> may expose LPSS devices via ACPI.
>
> Add their IDs to the list.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/mfd/intel-lpss-acpi.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)

Applied, thanks.

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