lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 17 Feb 2020 14:44:46 +0100 From: Guido Günther <agx@...xcpu.org> To: Tomas Novotny <tomas@...otny.cz>, Jonathan Cameron <jic23@...nel.org>, Hartmut Knaack <knaack.h@....de>, Lars-Peter Clausen <lars@...afoo.de>, Peter Meerwald-Stadler <pmeerw@...erw.net>, "Angus Ainslie (Purism)" <angus@...ea.ca>, Guido Günther <agx@...xcpu.org>, Marco Felsch <m.felsch@...gutronix.de>, Thomas Gleixner <tglx@...utronix.de>, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH 0/2] iio: vcnl4000: Export near level property for proximity sensor If an object can be considered close to the device that has the proximity sensor built in is hardware dependent. Allowing to configure the property via device tree allows to export this device specific value to userspace via ext_info. This is useful for e.g. iio-sensor-proxy. This came up when adding proximity support to iio-sensor-proxy [1], [2], it is not meant as a vcnl4000 thing but rather as something useful for other proximity sensors too in the future. I've not converted the vcnl4000 binding docs to yaml but can do so as part of this series in a v2 if the approach makes sense. [1]: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/merge_requests/298 [2]: https://lore.kernel.org/linux-iio/20200210154153.GA26903@bogon.m.sigxcpu.org/ Guido Günther (2): iio: vcnl4000: Export near level property for proximity sensor dt-bindings: iio: light: vcnl4000: Add near-level .../bindings/iio/light/vcnl4000.txt | 6 +++++ drivers/iio/light/vcnl4000.c | 26 +++++++++++++++++++ 2 files changed, 32 insertions(+) -- 2.23.0
Powered by blists - more mailing lists