iio: proximity: sx9360: Add a new ACPI hardware ID
authorGwendal Grignou <gwendal@chromium.org>
Sat, 5 Nov 2022 22:51:57 +0000 (15:51 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 19:58:44 +0000 (19:58 +0000)
From
https://treexy.com/products/driver-fusion/database/sensors/semtech/sx9360-proximity/

sx9360 SAR sensor can be presented with ACPI ID SAMM0208.

Whilst this does not appear to be an official ACPI ID, it is in the wild
(perhaps due to a typo on the SAM PnP ID).

Reported-by: Jordi Torres <majosamaso@gmail.com>
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20221105225157.10081-1-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx9360.c

index 7fa2213..6e19d22 100644 (file)
@@ -865,6 +865,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(sx9360_pm_ops, sx9360_suspend, sx9360_resume);
 
 static const struct acpi_device_id sx9360_acpi_match[] = {
        { "STH9360", SX9360_WHOAMI_VALUE },
+       { "SAMM0208", SX9360_WHOAMI_VALUE },
        { }
 };
 MODULE_DEVICE_TABLE(acpi, sx9360_acpi_match);