diff options
| author | Philipp Jungkamp <[email protected]> | 2022-11-24 23:38:39 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-12-20 14:24:57 +0000 |
| commit | 48c79bb0abc0429751c0de6616224f8e4aa891cf (patch) | |
| tree | 1afdf8f3b8c811e487ad1b221e1b42f84cf82b5a | |
| parent | HID: hid-sensor-custom: Allow more custom iio sensors (diff) | |
| download | kernel-48c79bb0abc0429751c0de6616224f8e4aa891cf.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
| -rw-r--r-- | drivers/hid/hid-sensor-custom.c | 23 |
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"), + } + }, {} }; |
