Skip to content

Adding support for range ignore on vl6180

Mike Goeppner linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio: light: vl6180: Add support for range ignoredrivers/iio/light/vl6180.c+177 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Adding support for range ignore on vl6180

Hi,

I've been working on getting support for the built in range ignore functionality on the vl6180 working. I've implemented this via some additional dev attrs in sysfs.

This functionality is described in [1] on page 29 under the "Range ignore" header. The relevant registers are covered in sections 6.2.25, 6.2.26, and 6.2.28 of the linked datasheer.

Would appreciate any feedback -- thanks!

Cheers!
/mike

[1]: https://www.st.com/resource/en/datasheet/vl6180x.pdf

Mike Goeppner (1):
iio: light: vl6180: Add support for range ignore

 drivers/iio/light/vl6180.c | 180 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 177 insertions(+), 3 deletions(-)
Signature · 1 line
2.20.1