lkml.org 
[lkml]   [2022]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/2] iio: stk3310: Export near level property for proximity sensor
    Date
    Userspace tools like iio-sensor-proxy need to be instructed the value from
    which they should consider an object is "near". This threshold can be
    exported through the sysfs ABI based on the "proximity-near-level"
    device-tree property.

    This patchset implements this property for the stk3310 driver and adds the
    necessary bits to export its value to userspace. It is based on similar
    changes applied to the vcnl4000 and ltr501 drivers.

    Arnaud Ferraris (2):
    dt-bindings: iio: light: stk33xx: Add proximity-near-level
    iio: stk3310: Export near level property for proximity sensor

    .../bindings/iio/light/stk33xx.yaml | 6 +++++
    drivers/iio/light/stk3310.c | 26 +++++++++++++++++++
    2 files changed, 32 insertions(+)

    --
    2.35.1

    \
     
     \ /
      Last update: 2022-04-15 10:51    [W:3.168 / U:1.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site