ACPI: DPTF: Support Alder Lake
diff mbox series

Message ID 20201110175058.88137-1-srinivas.pandruvada@linux.intel.com
State Accepted
Commit 38748bcb940e8b52beee19b0e5cfd740475a99e1
Headers show
Series
  • ACPI: DPTF: Support Alder Lake
Related show

Commit Message

Srinivas Pandruvada Nov. 10, 2020, 5:50 p.m. UTC
Add Alder Lake ACPI IDs for DPTF devices.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/acpi/dptf/dptf_pch_fivr.c   | 1 +
 drivers/acpi/dptf/dptf_power.c      | 2 ++
 drivers/acpi/dptf/int340x_thermal.c | 6 ++++++
 drivers/acpi/fan.c                  | 1 +
 4 files changed, 10 insertions(+)

Comments

Rafael J. Wysocki Nov. 10, 2020, 5:54 p.m. UTC | #1
On Tue, Nov 10, 2020 at 6:51 PM Srinivas Pandruvada
<srinivas.pandruvada@linux.intel.com> wrote:
>
> Add Alder Lake ACPI IDs for DPTF devices.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> ---
>  drivers/acpi/dptf/dptf_pch_fivr.c   | 1 +
>  drivers/acpi/dptf/dptf_power.c      | 2 ++
>  drivers/acpi/dptf/int340x_thermal.c | 6 ++++++
>  drivers/acpi/fan.c                  | 1 +
>  4 files changed, 10 insertions(+)
>
> diff --git a/drivers/acpi/dptf/dptf_pch_fivr.c b/drivers/acpi/dptf/dptf_pch_fivr.c
> index 4c1992fce150..5fca18296bf6 100644
> --- a/drivers/acpi/dptf/dptf_pch_fivr.c
> +++ b/drivers/acpi/dptf/dptf_pch_fivr.c
> @@ -106,6 +106,7 @@ static int pch_fivr_remove(struct platform_device *pdev)
>
>  static const struct acpi_device_id pch_fivr_device_ids[] = {
>         {"INTC1045", 0},
> +       {"INTC1049", 0},
>         {"", 0},
>  };
>  MODULE_DEVICE_TABLE(acpi, pch_fivr_device_ids);
> diff --git a/drivers/acpi/dptf/dptf_power.c b/drivers/acpi/dptf/dptf_power.c
> index 06741305fc77..a24d5d7aa117 100644
> --- a/drivers/acpi/dptf/dptf_power.c
> +++ b/drivers/acpi/dptf/dptf_power.c
> @@ -229,6 +229,8 @@ static const struct acpi_device_id int3407_device_ids[] = {
>         {"INT3532", 0},
>         {"INTC1047", 0},
>         {"INTC1050", 0},
> +       {"INTC1060", 0},
> +       {"INTC1061", 0},
>         {"", 0},
>  };
>  MODULE_DEVICE_TABLE(acpi, int3407_device_ids);
> diff --git a/drivers/acpi/dptf/int340x_thermal.c b/drivers/acpi/dptf/int340x_thermal.c
> index 8d420c7e7178..d14025a85ce8 100644
> --- a/drivers/acpi/dptf/int340x_thermal.c
> +++ b/drivers/acpi/dptf/int340x_thermal.c
> @@ -25,10 +25,16 @@ static const struct acpi_device_id int340x_thermal_device_ids[] = {
>         {"INT340A"},
>         {"INT340B"},
>         {"INTC1040"},
> +       {"INTC1041"},
>         {"INTC1043"},
>         {"INTC1044"},
>         {"INTC1045"},
> +       {"INTC1046"},
>         {"INTC1047"},
> +       {"INTC1048"},
> +       {"INTC1049"},
> +       {"INTC1060"},
> +       {"INTC1061"},
>         {""},
>  };
>
> diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
> index 62873388b24f..48354f82fba6 100644
> --- a/drivers/acpi/fan.c
> +++ b/drivers/acpi/fan.c
> @@ -27,6 +27,7 @@ static const struct acpi_device_id fan_device_ids[] = {
>         {"PNP0C0B", 0},
>         {"INT3404", 0},
>         {"INTC1044", 0},
> +       {"INTC1048", 0},
>         {"", 0},
>  };
>  MODULE_DEVICE_TABLE(acpi, fan_device_ids);
> --

Applied as 5.10-rc material, thanks!

Patch
diff mbox series

diff --git a/drivers/acpi/dptf/dptf_pch_fivr.c b/drivers/acpi/dptf/dptf_pch_fivr.c
index 4c1992fce150..5fca18296bf6 100644
--- a/drivers/acpi/dptf/dptf_pch_fivr.c
+++ b/drivers/acpi/dptf/dptf_pch_fivr.c
@@ -106,6 +106,7 @@  static int pch_fivr_remove(struct platform_device *pdev)
 
 static const struct acpi_device_id pch_fivr_device_ids[] = {
 	{"INTC1045", 0},
+	{"INTC1049", 0},
 	{"", 0},
 };
 MODULE_DEVICE_TABLE(acpi, pch_fivr_device_ids);
diff --git a/drivers/acpi/dptf/dptf_power.c b/drivers/acpi/dptf/dptf_power.c
index 06741305fc77..a24d5d7aa117 100644
--- a/drivers/acpi/dptf/dptf_power.c
+++ b/drivers/acpi/dptf/dptf_power.c
@@ -229,6 +229,8 @@  static const struct acpi_device_id int3407_device_ids[] = {
 	{"INT3532", 0},
 	{"INTC1047", 0},
 	{"INTC1050", 0},
+	{"INTC1060", 0},
+	{"INTC1061", 0},
 	{"", 0},
 };
 MODULE_DEVICE_TABLE(acpi, int3407_device_ids);
diff --git a/drivers/acpi/dptf/int340x_thermal.c b/drivers/acpi/dptf/int340x_thermal.c
index 8d420c7e7178..d14025a85ce8 100644
--- a/drivers/acpi/dptf/int340x_thermal.c
+++ b/drivers/acpi/dptf/int340x_thermal.c
@@ -25,10 +25,16 @@  static const struct acpi_device_id int340x_thermal_device_ids[] = {
 	{"INT340A"},
 	{"INT340B"},
 	{"INTC1040"},
+	{"INTC1041"},
 	{"INTC1043"},
 	{"INTC1044"},
 	{"INTC1045"},
+	{"INTC1046"},
 	{"INTC1047"},
+	{"INTC1048"},
+	{"INTC1049"},
+	{"INTC1060"},
+	{"INTC1061"},
 	{""},
 };
 
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
index 62873388b24f..48354f82fba6 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -27,6 +27,7 @@  static const struct acpi_device_id fan_device_ids[] = {
 	{"PNP0C0B", 0},
 	{"INT3404", 0},
 	{"INTC1044", 0},
+	{"INTC1048", 0},
 	{"", 0},
 };
 MODULE_DEVICE_TABLE(acpi, fan_device_ids);