From: Jonathan Cameron <jic23@kernel.org>
To: Philipp Jungkamp <p.jungkamp@gmx.net>
Cc: Jiri Kosina <jikos@kernel.org>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
linux-iio@vger.kernel.org
Subject: Re: [PATCH v4 2/4] HID: hid-sensor-custom: Add LISS custom sensors
Date: Sat, 26 Nov 2022 19:11:50 +0000 [thread overview]
Message-ID: <20221126191150.7f12c1fd@jic23-huawei> (raw)
In-Reply-To: <20221124233841.3103-3-p.jungkamp@gmx.net>
On Fri, 25 Nov 2022 00:38:39 +0100
Philipp Jungkamp <p.jungkamp@gmx.net> wrote:
> Add the Lenovo Intelligent Sensing Solution (LISS) custom sensors to the
> known custom sensors.
>
> Signed-off-by: Philipp Jungkamp <p.jungkamp@gmx.net>
Obviously not much to actually review here, beyond 'it looks plausible'.
FWIW
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
>
> v2:
> - Create this 'noop' patch that just adds the LISS sensors to the custom
> sensor match table.
>
> v3:
> - Add missing 'Signed-Off-By'
>
> v4:
> - No change.
>
> drivers/hid/hid-sensor-custom.c | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/drivers/hid/hid-sensor-custom.c b/drivers/hid/hid-sensor-custom.c
> index 734c6bde68fe..7c6e2e795753 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"),
> + }
> + },
> {}
> };
>
> --
> 2.38.1
>
next prev parent reply other threads:[~2022-11-26 18:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 23:38 [PATCH v4 0/4] IIO: More HID custom sensors Philipp Jungkamp
2022-11-24 23:38 ` [PATCH v4 1/4] HID: hid-sensor-custom: Allow more custom iio sensors Philipp Jungkamp
2022-11-26 19:11 ` Jonathan Cameron
2022-11-24 23:38 ` [PATCH v4 2/4] HID: hid-sensor-custom: Add LISS custom sensors Philipp Jungkamp
2022-11-26 19:11 ` Jonathan Cameron [this message]
2022-11-24 23:38 ` [PATCH v4 3/4] IIO: hid-sensor-als: Use generic usage Philipp Jungkamp
2022-11-26 19:05 ` Jonathan Cameron
2022-11-24 23:38 ` [PATCH v4 4/4] IIO: hid-sensor-prox: " Philipp Jungkamp
2022-11-26 19:04 ` Jonathan Cameron
2022-11-27 17:33 ` [PATCH v4 0/4] IIO: More HID custom sensors srinivas pandruvada
2022-12-13 22:51 ` Philipp Jungkamp
2022-12-14 9:27 ` Jonathan Cameron
2022-12-14 17:20 ` Jiri Kosina
2022-12-15 16:21 ` Jonathan Cameron
2022-12-20 14:26 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221126191150.7f12c1fd@jic23-huawei \
--to=jic23@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=p.jungkamp@gmx.net \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox