diff mbox series

[v1,1/4] acpi: dptf: Add new Tiger Lake hardware IDs to support DPTF drivers in acpi

Message ID baaa3d7d1d1129a31c5a000578d1ad8198ca3881.1576189376.git.gayatri.kammela@intel.com (mailing list archive)
State Superseded, archived
Headers show
Series drivers: Add Tiger Lake hardware IDs to support acpi, | expand

Commit Message

Kammela, Gayatri Dec. 12, 2019, 10:37 p.m. UTC
Tiger Lake has new unique hardware IDs that are needed to support
DPTF drivers. Hence, add them.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
---
 drivers/acpi/dptf/dptf_power.c      | 1 +
 drivers/acpi/dptf/int340x_thermal.c | 4 ++++
 2 files changed, 5 insertions(+)

Comments

Andy Shevchenko Dec. 13, 2019, 9:34 a.m. UTC | #1
On Thu, Dec 12, 2019 at 02:37:17PM -0800, Gayatri Kammela wrote:
> Tiger Lake has new unique hardware IDs that are needed to support
> DPTF drivers. Hence, add them.

>  	{"INT3407", 0},
> +	{"INT1047", 0},

Can we keep them in sorted order?

>  	{"INT3409"},
>  	{"INT340A"},
>  	{"INT340B"},
> +	{"INT1040"},
> +	{"INT1043"},
> +	{"INT1044"},
> +	{"INT1047"},

Ditto.
Kammela, Gayatri Dec. 13, 2019, 5:54 p.m. UTC | #2
> On Thu, Dec 12, 2019 at 02:37:17PM -0800, Gayatri Kammela wrote:
> > Tiger Lake has new unique hardware IDs that are needed to support DPTF
> > drivers. Hence, add them.
> 
> >  	{"INT3407", 0},
> > +	{"INT1047", 0},
> 
> Can we keep them in sorted order?
Thanks Andy! I will keep them in sorted order for all the patches in the series in v2
> 
> >  	{"INT3409"},
> >  	{"INT340A"},
> >  	{"INT340B"},
> > +	{"INT1040"},
> > +	{"INT1043"},
> > +	{"INT1044"},
> > +	{"INT1047"},
> 
> Ditto.
> 
> --
> With Best Regards,
> Andy Shevchenko
>
diff mbox series

Patch

diff --git a/drivers/acpi/dptf/dptf_power.c b/drivers/acpi/dptf/dptf_power.c
index eb58fc475a03..6ddcfde36bcb 100644
--- a/drivers/acpi/dptf/dptf_power.c
+++ b/drivers/acpi/dptf/dptf_power.c
@@ -98,6 +98,7 @@  static int dptf_power_remove(struct platform_device *pdev)
 
 static const struct acpi_device_id int3407_device_ids[] = {
 	{"INT3407", 0},
+	{"INT1047", 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 5c7a90186e3c..3210c20941e7 100644
--- a/drivers/acpi/dptf/int340x_thermal.c
+++ b/drivers/acpi/dptf/int340x_thermal.c
@@ -24,6 +24,10 @@  static const struct acpi_device_id int340x_thermal_device_ids[] = {
 	{"INT3409"},
 	{"INT340A"},
 	{"INT340B"},
+	{"INT1040"},
+	{"INT1043"},
+	{"INT1044"},
+	{"INT1047"},
 	{""},
 };