From: "Sami Kyöstilä" <skyostil@chromium.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: dtor@chromium.org, evanbenn@chromium.org, arnd@arndb.de,
gregkh@linuxfoundation.org,
"Sami Kyöstilä" <skyostil@chromium.org>
Subject: [PATCH 0/2] Add a driver for the ChromeOS snooping protection sensor (HPS)
Date: Thu, 27 Jan 2022 19:35:43 +1100 [thread overview]
Message-ID: <20220127083545.1020423-1-skyostil@chromium.org> (raw)
This series adds a driver for the ChromeOS snooping protection sensor
(a.k.a. HPS) device, attached on the I2C bus. The sensor is a
hardware-isolated module which reports a high-level presence signal,
e.g., whether there is person in front of the computer or not.
The driver exposes the device to userspace as a character device, which
can be used to send and receive messages to the sensor. The driver
automatically turns power off to the sensor unless a process is
More information about HPS, its firmware and communication protocol can
be found at
https://chromium.googlesource.com/chromiumos/platform/hps-firmware.
Sami Kyöstilä (2):
drivers/misc: add a driver for HPS
drivers/misc: add transfer ioctl for HPS
MAINTAINERS | 7 +
drivers/misc/Kconfig | 10 ++
drivers/misc/Makefile | 1 +
drivers/misc/hps-i2c.c | 304 +++++++++++++++++++++++++++++++++++++++
include/uapi/linux/hps.h | 20 +++
5 files changed, 342 insertions(+)
create mode 100644 drivers/misc/hps-i2c.c
create mode 100644 include/uapi/linux/hps.h
--
2.35.0.rc0.227.g00780c9af4-goog
next reply other threads:[~2022-01-27 8:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 8:35 Sami Kyöstilä [this message]
2022-01-27 8:35 ` [PATCH 1/2] drivers/misc: add a driver for HPS Sami Kyöstilä
2022-01-27 9:40 ` Greg KH
2022-01-28 7:41 ` Sami Kyostila
2022-01-28 9:36 ` Greg KH
2022-02-18 17:20 ` Pavel Machek
2022-01-27 8:35 ` [PATCH 2/2] drivers/misc: add transfer ioctl " Sami Kyöstilä
2022-01-27 9:41 ` Greg KH
2022-01-28 7:42 ` Sami Kyostila
2022-01-28 9:36 ` Greg KH
2022-01-31 8:23 ` Sami Kyostila
2022-01-31 12:51 ` Arnd Bergmann
2022-01-28 9:47 ` Arnd Bergmann
2022-01-27 22:39 ` Randy Dunlap
2022-01-28 7:42 ` Sami Kyostila
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=20220127083545.1020423-1-skyostil@chromium.org \
--to=skyostil@chromium.org \
--cc=arnd@arndb.de \
--cc=dtor@chromium.org \
--cc=evanbenn@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®