[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210430152419.261757-1-i.mikhaylov@yadro.com>
Date: Fri, 30 Apr 2021 18:24:15 +0300
From: Ivan Mikhaylov <i.mikhaylov@...ro.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
CC: Ivan Mikhaylov <i.mikhaylov@...ro.com>,
<linux-kernel@...r.kernel.org>, <linux-iio@...r.kernel.org>,
<linux-hwmon@...r.kernel.org>
Subject: [PATCH 0/4] add periodic mode, threshold options and hwmon
Add periodic mode enablement, high/low threshold options. Remove mutex
from vcnl3020_data structure, change mutex_lock/unlock's appropriately on
iio_device_claim/release_direct_mode.
Add hwmon driver as intrusion sensor which provides information about
any triggers within thresholds, works in periodic mode of proximity
sensor.
Ivan Mikhaylov (4):
iio: proximity: vcnl3020: add periodic mode
iio: proximity: vcnl3020: add threshold options
iio: proximity: vncl3020: remove mutex from vcnl3020_data
hwmon: vcnl3020: add hwmon driver for intrusion sensor
drivers/hwmon/Kconfig | 7 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/vcnl3020-hwmon.c | 57 +++++
drivers/iio/proximity/vcnl3020.c | 335 ++++++++++++++++++++++---
include/linux/iio/proximity/vcnl3020.h | 26 ++
5 files changed, 395 insertions(+), 31 deletions(-)
create mode 100644 drivers/hwmon/vcnl3020-hwmon.c
create mode 100644 include/linux/iio/proximity/vcnl3020.h
--
2.26.3
Powered by blists - more mailing lists