Skip to content

Commit 48c79bb

Browse files
pjungkampJiri Kosina
authored andcommitted
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 <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 98c062e commit 48c79bb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

drivers/hid/hid-sensor-custom.c

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,29 @@ static const struct hid_sensor_custom_match hid_sensor_custom_known_table[] = {
782782
.luid = "020B000000000000",
783783
.manufacturer = "INTEL",
784784
},
785+
/*
786+
* Lenovo Intelligent Sensing Solution (LISS)
787+
*/
788+
{ /* ambient light */
789+
.tag = "LISS",
790+
.luid = "0041010200000082",
791+
.model = "STK3X3X Sensor",
792+
.manufacturer = "Vendor 258",
793+
.check_dmi = true,
794+
.dmi.matches = {
795+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
796+
}
797+
},
798+
{ /* human presence */
799+
.tag = "LISS",
800+
.luid = "0226000171AC0081",
801+
.model = "VL53L1_HOD Sensor",
802+
.manufacturer = "ST_MICRO",
803+
.check_dmi = true,
804+
.dmi.matches = {
805+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
806+
}
807+
},
785808
{}
786809
};
787810

0 commit comments

Comments
 (0)