Skip to contentSkip to conversation

pwm: lpss: Add ACPI HID for second PWM controller on Cherry Trail devices

PATCH In review Hans de Goede 2 participants 2 messages Aug 27, 2018 – Aug 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pwm: lpss: Add ACPI HID for second PWM controller on Cherry Trail devices

The second PWM controller on Cherry Trail devices uses a separate ACPI
HID: "80862289", add this so that the driver will properly bind to the second PWM controller.

The second PWM controller is usually not used, the main thing gained by this is properly putting the PWM controller in D3 on suspend.

---
 drivers/pwm/pwm-lpss-platform.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/pwm-lpss-platform.c +1 -0
index 5561b9e190f8..7304f36ee715 100644
@@ -81,6 +81,7 @@ static SIMPLE_DEV_PM_OPS(pwm_lpss_platform_pm_ops,
 static const struct acpi_device_id pwm_lpss_acpi_match[] = {
 	{ "80860F09", (unsigned long)&pwm_lpss_byt_info },
 	{ "80862288", (unsigned long)&pwm_lpss_bsw_info },
+	{ "80862289", (unsigned long)&pwm_lpss_bsw_info },
 	{ "80865AC8", (unsigned long)&pwm_lpss_bxt_info },
 	{ },
 };
Signature · 1 line
2.18.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Hans de Goede

The second PWM controller on Cherry Trail devices uses a separate ACPI
HID: "80862289", add this so that the driver will properly bind to the second PWM controller.

The second PWM controller is usually not used, the main thing gained by this is properly putting the PWM controller in D3 on suspend.

Quoted 20 lines
---
 drivers/pwm/pwm-lpss-platform.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/pwm-lpss-platform.c +1 -0
index 5561b9e190f8..7304f36ee715 100644
@@ -81,6 +81,7 @@ static SIMPLE_DEV_PM_OPS(pwm_lpss_platform_pm_ops,
 static const struct acpi_device_id pwm_lpss_acpi_match[] = {
 	{ "80860F09", (unsigned long)&pwm_lpss_byt_info },
 	{ "80862288", (unsigned long)&pwm_lpss_bsw_info },
+	{ "80862289", (unsigned long)&pwm_lpss_bsw_info },
 	{ "80865AC8", (unsigned long)&pwm_lpss_bxt_info },
 	{ },
 };
Signature · 1 line
2.18.0
Signature · 2 lines
With Best Regards,
Andy Shevchenko