aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2022-11-05 15:51:57 -0700
committerJonathan Cameron <[email protected]>2022-11-23 19:58:44 +0000
commitc486b7019398a7a451631d5d99b67480768bfd25 (patch)
treeb63826c372f9582975bc1d049bbcd4c9f25af981
parent99043ba702243f69d1853bd8aeca01e22836ede3 (diff)
iio: proximity: sx9360: Add a new ACPI hardware ID
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 <[email protected]> Signed-off-by: Gwendal Grignou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r--drivers/iio/proximity/sx9360.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/proximity/sx9360.c b/drivers/iio/proximity/sx9360.c
index 7fa2213d23ba..6e19d22e6a01 100644
--- a/drivers/iio/proximity/sx9360.c
+++ b/drivers/iio/proximity/sx9360.c
@@ -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);