drivers: Add Tiger Lake hardware IDs to support acpi,
Subsystems (3)
v2 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
Changes since v1:
1) Maintain the readability by adding hardware IDs in a sorted order
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(+)
Signature · 1 line
2.17.1
PATCH v2 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.
--- 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
@@ -97,6 +97,7 @@ static int dptf_power_remove(struct platform_device *pdev) }static const struct acpi_device_id int3407_device_ids[] = { + {"INT1047" ,0 }, {"INT3407" ,0 }, {"" ,0 }, };
drivers/acpi/dptf/int340x_thermal.c +4 -0
@@ -13,6 +13,10 @@#define INT3401_DEVICE 0X01static const struct acpi_device_id int340x_thermal_device_ids[] = { + {"INT1040" }, + {"INT1043" }, + {"INT1044" }, + {"INT1047" }, {"INT3400" }, {"INT3401" ,INT3401_DEVICE }, {"INT3402" },
Signature · 1 line
2.17.1
PATCH v2 2/4 acpi: fan: Add new Tiger Lake hardware ID to support fan driver in acpi
In reply to Gayatri KammelaTiger Lake has a new unique hardware ID to support fan driver. Hence, add it.
--- drivers/acpi/fan.c | 1 + 1 file changed, 1 insertion(+)
drivers/acpi/fan.c +1 -0
@@ -25,6 +25,7 @@ static int acpi_fan_remove(struct platform_device *pdev);static const struct acpi_device_id fan_device_ids[] = { {"PNP0C0B" ,0 }, + {"INT1044" ,0 }, {"INT3404" ,0 }, {"" ,0 }, };
Signature · 1 line
2.17.1
Rafael J. Wysocki
maintainerRe: [PATCH v2 2/4] acpi: fan: Add new Tiger Lake hardware ID to support fan driver in acpi
Quoted 17 lines · 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]>Signed-off-by Gayatri Kammela <[email protected]>--- drivers/acpi/fan.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/fan.c +0
-0
drivers/acpi/fan.c static int acpi_fan_remove(struct platform_device *pdev); · line 28
Quoted 4 lines
drivers/acpi/fan.c +1
-0@@ -25,6 +25,7 @@ static int acpi_fan_remove(struct platform_device *pdev);static const struct acpi_device_id fan_device_ids[] = { {"PNP0C0B" ,0 }, + {"INT1044" ,0 },
This has to go into device_pm.c:acpi_dev_pm_attach() too, see commit
b9ea0bae260f ACPI: PM: Avoid attaching ACPI PM domain to certain devices
Quoted 4 lines
drivers/acpi/fan.c +0
-1{"INT3404", 0}, {"", 0}, }; --
RE: [PATCH v2 2/4] acpi: fan: Add new Tiger Lake hardware ID to support fan driver in acpi
Quoted 18 lines
Quoted 18 lines
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]>Signed-off-by Gayatri Kammela <[email protected]>--- drivers/acpi/fan.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/fan.c index renamed from drivers/acpi/fan.c +0
-0
816b0803f7fb..13708fb48038100644drivers/acpi/fan.c +0
-0@@ -25,6 +25,7 @@ static int acpi_fan_remove(struct platform_device *pdev);
Quoted 7 lines
drivers/acpi/fan.c static int acpi_fan_remove(struct platform_device *pdev); · line 28
Quoted 3 lines
drivers/acpi/fan.c +1
-0static const struct acpi_device_id fan_device_ids[] = { {"PNP0C0B" ,0 }, + {"INT1044" ,0 },This has to go into device_pm.c:acpi_dev_pm_attach() too, see commit
b9ea0bae260fACPI: PM: Avoid attaching ACPI PM domain to certain devices
Thanks Rafael! I will add it and send v3.
Quoted 5 lines
Quoted 5 lines
drivers/acpi/fan.c +0
-0{"INT3404", 0}, {"", 0},};
--
PATCH v2 3/4 platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID driver
In reply to Gayatri KammelaTiger Lake has a new unique hardware ID to support Intel's HID event filter driver. Hence, add it.
--- drivers/platform/x86/intel-hid.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/intel-hid.c +1 -0
@@ -19,6 +19,7 @@ MODULE_LICENSE("GPL");MODULE_AUTHOR ("Alex Hung" );static const struct acpi_device_id intel_hid_ids[] = { + {"INT1051" ,0 }, {"INT33D5" ,0 }, {"" ,0 }, };
Signature · 1 line
2.17.1
Re: [PATCH v2 3/4] platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID driver
Quoted 3 lines · Gayatri Kammela
Tiger Lake has a new unique hardware ID to support Intel's HID event filter driver. Hence, add it.
Quoted 23 lines
Cc Zhang Rui <[email protected]>Cc Andy Shevchenko <[email protected]>Cc Srinivas Pandruvada <[email protected]>Signed-off-by Gayatri Kammela <[email protected]>--- drivers/platform/x86/intel-hid.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/intel-hid.c +1
-0@@ -19,6 +19,7 @@ MODULE_LICENSE("GPL");MODULE_AUTHOR ("Alex Hung" );static const struct acpi_device_id intel_hid_ids[] = { + {"INT1051" ,0 }, {"INT33D5" ,0 }, {"" ,0 }, };Signature · 1 line
2.17.1
Signature · 2 lines
With Best Regards, Andy Shevchenko
RE: [PATCH v2 3/4] platform/x86: intel-hid: Add new Tiger Lake hardware ID to support HID driver
Quoted 7 lines · Gayatri Kammela
Quoted 3 lines
Tiger Lake has a new unique hardware ID to support Intel's HID event filter driver. Hence, add it.
Acked-by Andy Shevchenko <[email protected]>
Thanks Andy!
PATCH v2 4/4 thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support thermal driver
In reply to Gayatri KammelaTiger Lake has a new unique hardware IDs to support thermal driver. Hence, add them.
--- 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
@@ -369,6 +369,7 @@ static int int3400_thermal_remove(struct platform_device *pdev) }static const struct acpi_device_id int3400_thermal_match[] = { + {"INT1040" ,0 }, {"INT3400" ,0 }, {} };
drivers/thermal/intel/int340x_thermal/int3403_thermal.c +1 -0
@@ -282,6 +282,7 @@ static int int3403_remove(struct platform_device *pdev) }static const struct acpi_device_id int3403_device_ids[] = { + {"INT1043" ,0 }, {"INT3403" ,0 }, {"" ,0 }, };
Signature · 1 line
2.17.1
Re: [PATCH v2 4/4] thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support thermal driver
Quoted 7 lines · 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]>Signed-off-by Gayatri Kammela <[email protected]>
Quoted 33 lines
--- 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@@ -369,6 +369,7 @@ static int int3400_thermal_remove(struct platform_device *pdev) }static const struct acpi_device_id int3400_thermal_match[] = { + {"INT1040" ,0 }, {"INT3400" ,0 }, {}};
drivers/thermal/intel/int340x_thermal/int3403_thermal.c +1
-0@@ -282,6 +282,7 @@ static int int3403_remove(struct platform_device *pdev) }static const struct acpi_device_id int3403_device_ids[] = { + {"INT1043" ,0 }, {"INT3403" ,0 }, {"" ,0 },};
RE: [PATCH v2 4/4] thermal: int340x_thermal: Add new Tiger Lake hardware IDs to support thermal driver
Quoted 9 lines · Gayatri Kammela
Quoted 7 lines
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]>Signed-off-by Gayatri Kammela <[email protected]>Reviewed-by Pandruvada, Srinivas <[email protected]>
Thanks Srinivas!