summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Jungkamp <p.jungkamp@gmx.net>2022-11-25 00:38:39 +0100
committerJiri Kosina <jkosina@suse.cz>2022-12-20 15:24:57 +0100
commit48c79bb0abc0429751c0de6616224f8e4aa891cf (patch)
tree1afdf8f3b8c811e487ad1b221e1b42f84cf82b5a
parent98c062e8245199fa9121141a0bf1035dc45ae90e (diff)
downloadlinux-stable-48c79bb0abc0429751c0de6616224f8e4aa891cf.tar.gz
linux-stable-48c79bb0abc0429751c0de6616224f8e4aa891cf.tar.bz2
linux-stable-48c79bb0abc0429751c0de6616224f8e4aa891cf.zip
HID: hid-sensor-custom: Add LISS custom sensors
Add the Lenovo Intelligent Sensing Solution (LISS) custom sensors to the known custom sensors. Signed-off-by: Philipp Jungkamp <p.jungkamp@gmx.net> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-sensor-custom.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/hid/hid-sensor-custom.c b/drivers/hid/hid-sensor-custom.c
index e6aa2cdcbc47..0c287dde345c 100644
--- a/drivers/hid/hid-sensor-custom.c
+++ b/drivers/hid/hid-sensor-custom.c
@@ -782,6 +782,29 @@ static const struct hid_sensor_custom_match hid_sensor_custom_known_table[] = {
.luid = "020B000000000000",
.manufacturer = "INTEL",
},
+ /*
+ * Lenovo Intelligent Sensing Solution (LISS)
+ */
+ { /* ambient light */
+ .tag = "LISS",
+ .luid = "0041010200000082",
+ .model = "STK3X3X Sensor",
+ .manufacturer = "Vendor 258",
+ .check_dmi = true,
+ .dmi.matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ }
+ },
+ { /* human presence */
+ .tag = "LISS",
+ .luid = "0226000171AC0081",
+ .model = "VL53L1_HOD Sensor",
+ .manufacturer = "ST_MICRO",
+ .check_dmi = true,
+ .dmi.matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ }
+ },
{}
};