Skip to contentSkip to conversation

drivers: Add Tiger Lake hardware IDs to support acpi,

PATCH Superseded Gayatri Kammela 2 participants 10 messages Dec 12, 2019 – Dec 13, 2019

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover drivers: Add Tiger Lake hardware IDs to support acpi,

Hi,

Tiger Lake supports devices whose hardware IDs are changed for various drivers. Hence, add the new hardware IDs.

Patch 1: Add Tiger Lake support to DPTF driver Patch 2: Add Tiger Lake support to fan driver Patch 3: Add Tiger Lake support to Intel's HID driver Patch 4: Add Tiger Lake support to thermal driver

Gayatri Kammela (4):
acpi: dptf: Add new Tiger Lake hardware IDs to support DPTF drivers in
acpi
acpi: fan: Add new Tiger Lake hardware ID to support fan driver in
acpi
platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID
driver
thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support
thermal driver

 drivers/acpi/dptf/dptf_power.c                          | 1 +
 drivers/acpi/dptf/int340x_thermal.c                     | 4 ++++
 drivers/acpi/fan.c                                      | 1 +
 drivers/platform/x86/intel-hid.c                        | 1 +
 drivers/thermal/intel/int340x_thermal/int3400_thermal.c | 1 +
 drivers/thermal/intel/int340x_thermal/int3403_thermal.c | 1 +
 6 files changed, 9 insertions(+)
Cc Andy Shevchenko <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/4 acpi: dptf: Add new Tiger Lake hardware IDs to support DPTF drivers in acpi

Tiger Lake has new unique hardware IDs that are needed to support DPTF drivers. Hence, add them.

Cc Andy Shevchenko <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
---
 drivers/acpi/dptf/dptf_power.c      | 1 +
 drivers/acpi/dptf/int340x_thermal.c | 4 ++++
 2 files changed, 5 insertions(+)
drivers/acpi/dptf/dptf_power.c +1 -0
index eb58fc475a03..6ddcfde36bcb 100644
@@ -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);
drivers/acpi/dptf/int340x_thermal.c +4 -0
index 5c7a90186e3c..3210c20941e7 100644
@@ -24,6 +24,10 @@ static const struct acpi_device_id int340x_thermal_device_ids[] = {
 	{"INT3409"},
 	{"INT340A"},
 	{"INT340B"},
+	{"INT1040"},
+	{"INT1043"},
+	{"INT1044"},
+	{"INT1047"},
 	{""},
 };
 
Signature · 1 line
2.17.1
#4 lore raw

PATCH 2/4 acpi: fan: Add new Tiger Lake hardware ID to support fan driver in acpi

In reply to Gayatri Kammela

Tiger Lake has a new unique hardware ID to support fan driver. Hence, add it.

Cc Andy Shevchenko <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
---
 drivers/acpi/fan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/acpi/fan.c +1 -0
index 816b0803f7fb..16e1ca23f573 100644
@@ -26,6 +26,7 @@ static int acpi_fan_remove(struct platform_device *pdev);
 static const struct acpi_device_id fan_device_ids[] = {
 	{"PNP0C0B", 0},
 	{"INT3404", 0},
+	{"INT1044", 0},
 	{"", 0},
 };
 MODULE_DEVICE_TABLE(acpi, fan_device_ids);
Signature · 1 line
2.17.1
#6 lore raw

PATCH 3/4 platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID driver

In reply to Gayatri Kammela

Tiger Lake has a new unique hardware ID to support Intel's HID event filter driver. Hence, add it.

Cc Zhang Rui <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
---
 drivers/platform/x86/intel-hid.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/intel-hid.c +1 -0
index ef6d4bd77b1a..3ce423c11a88 100644
@@ -20,6 +20,7 @@ MODULE_AUTHOR("Alex Hung");
 
 static const struct acpi_device_id intel_hid_ids[] = {
 	{"INT33D5", 0},
+	{"INT1051", 0},
 	{"", 0},
 };
 
Signature · 1 line
2.17.1
#8 lore raw

PATCH 4/4 thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support thermal driver

In reply to Gayatri Kammela

Tiger Lake has a new unique hardware IDs to support thermal driver. Hence, add them.

Cc Andy Shevchenko <[email protected]>
Cc Zhang rui <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
---
 drivers/thermal/intel/int340x_thermal/int3400_thermal.c | 1 +
 drivers/thermal/intel/int340x_thermal/int3403_thermal.c | 1 +
 2 files changed, 2 insertions(+)
drivers/thermal/intel/int340x_thermal/int3400_thermal.c +1 -0
index 3517883b5cdb..b441704deea2 100644
@@ -370,6 +370,7 @@ static int int3400_thermal_remove(struct platform_device *pdev)
 
 static const struct acpi_device_id int3400_thermal_match[] = {
 	{"INT3400", 0},
+	{"INT1040", 0},
 	{}
 };
 
drivers/thermal/intel/int340x_thermal/int3403_thermal.c +1 -0
index a7bbd8584ae2..219024cce7fb 100644
@@ -283,6 +283,7 @@ static int int3403_remove(struct platform_device *pdev)
 
 static const struct acpi_device_id int3403_device_ids[] = {
 	{"INT3403", 0},
+	{"INT1043", 0},
 	{"", 0},
 };
 MODULE_DEVICE_TABLE(acpi, int3403_device_ids);
Signature · 1 line
2.17.1
#2 lore raw

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

In reply to Gayatri Kammela

drivers/acpi/dptf/dptf_power.c static int dptf_power_remove(struct platform_device *pdev) · line 101

Quoted 5 lines · Gayatri Kammela

Tiger Lake has new unique hardware IDs that are needed to support DPTF drivers. Hence, add them.

drivers/acpi/dptf/dptf_power.c +1 -0
 	{"INT3407", 0},
+	{"INT1047", 0},

Can we keep them in sorted order?

drivers/acpi/dptf/int340x_thermal.c static const struct acpi_device_id int340x_thermal_device_ids[] = { · line 30

Quoted 7 lines
drivers/acpi/dptf/int340x_thermal.c +4 -0
 	{"INT3409"},
 	{"INT340A"},
 	{"INT340B"},
+	{"INT1040"},
+	{"INT1043"},
+	{"INT1044"},
+	{"INT1047"},

Ditto.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw

Re: [PATCH v1 2/4] acpi: fan: Add new Tiger Lake hardware ID to support fan driver in acpi

In reply to Gayatri Kammela

drivers/acpi/fan.c static int acpi_fan_remove(struct platform_device *pdev); · line 29

Quoted 3 lines · Gayatri Kammela
drivers/acpi/fan.c +1 -0
 	{"PNP0C0B", 0},
 	{"INT3404", 0},
+	{"INT1044", 0},

Same comment here.

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

Re: [PATCH v1 3/4] platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID driver

In reply to Gayatri Kammela

drivers/platform/x86/intel-hid.c MODULE_AUTHOR("Alex Hung"); · line 23

Quoted 2 lines · Gayatri Kammela
drivers/platform/x86/intel-hid.c +1 -0
 	{"INT33D5", 0},
+	{"INT1051", 0},

And here

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#9 lore raw

Re: [PATCH v1 4/4] thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support thermal driver

In reply to Gayatri Kammela

drivers/thermal/intel/int340x_thermal/int3400_thermal.c static int int3400_thermal_remove(struct platform_device *pdev)

Quoted 8 lines · Gayatri Kammela

Tiger Lake has a new unique hardware IDs to support thermal driver. Hence, add them.

drivers/thermal/intel/int340x_thermal/int3400_thermal.c +2 -0
 	{"INT3400", 0},
+	{"INT1040", 0},
 
 	{"INT3403", 0},
+	{"INT1043", 0},

And here

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw

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

In reply to Andy Shevchenko
Quoted 8 lines · Gayatri Kammela

drivers/acpi/dptf/dptf_power.c static int dptf_power_remove(struct platform_device *pdev) · line 101

Quoted 5 lines

Tiger Lake has new unique hardware IDs that are needed to support DPTF drivers. Hence, add them.

drivers/acpi/dptf/dptf_power.c +1 -0
 	{"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

Quoted 15 lines

drivers/acpi/dptf/int340x_thermal.c static const struct acpi_device_id int340x_thermal_device_ids[] = { · line 30

Quoted 8 lines
drivers/acpi/dptf/int340x_thermal.c +4 -0
 	{"INT3409"},
 	{"INT340A"},
 	{"INT340B"},
+	{"INT1040"},
+	{"INT1043"},
+	{"INT1044"},
+	{"INT1047"},

Ditto.

--
With Best Regards,
Andy Shevchenko