Messages in this thread | | | From | Daniel Baluta <> | Subject | [PATCH 0/2] Clarify proximity output value interpretation | Date | Thu, 11 Jun 2015 18:49:32 +0300 |
| |
Proximity sensors indicate high values for closer objects and vice-versa. This patchset clarifies the ABI and fixes the SX9500 sensor.
We have 5 proximity sensors that got this right (gp2ap020a00f, jsa1212, vcnl4000, cm36651, ltr501) and 2 that got it wrong (stk3310 and sx9500).
For SX9500 the fix was trivial and it is included here, for stk3310 there are more things to do and will try to fix in the near future.
Daniel Baluta (2): iio: ABI: Clarify proximity output value iio: proximity: sx9500: Fix proximity value
Documentation/ABI/testing/sysfs-bus-iio | 6 ++---- drivers/iio/proximity/sx9500.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-)
-- 1.9.1
| |