[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210715124728.838455-1-i.mikhaylov@yadro.com>
Date: Thu, 15 Jul 2021 15:47:27 +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>
CC: Ivan Mikhaylov <i.mikhaylov@...ro.com>,
<linux-kernel@...r.kernel.org>, <linux-iio@...r.kernel.org>
Subject: [PATCH v4 0/1] iio: vcnl3020: add periodic mode, threshold options
Add periodic mode enablement, high/low threshold options.
Changes from v1:
1. Remove changes for hwmon driver and changes affecting
vcnl3020 data structure.
2. Add enable/disable periodic mode functions.
Changes from v2:
1. Minor fixes from Jonathan's comments.
Changes from v3:
1. add DMA safe buffer in vcnl3020_data and use it on bulk_read/write
calls
2. put vcnl3020_is_in_periodic_mode in vcnl3020_measure_proximity and
vcnl3020_write_proxy_samp_freq
3. add mutex instead of iio_claim in vcnl3020_write_proxy_samp_freq
4. out_mutex -> err_unlock
Ivan Mikhaylov (1):
iio: proximity: vcnl3020: add periodic mode
drivers/iio/proximity/vcnl3020.c | 328 +++++++++++++++++++++++++++++--
1 file changed, 313 insertions(+), 15 deletions(-)
--
2.31.1
Powered by blists - more mailing lists