summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTomas Novotny <tomas@novotny.cz>2020-02-18 16:44:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 08:06:13 +0100
commit3b2c4f1122961439be22f11f896fd18676ba46ba (patch)
tree1754f703e2b4a3a578c384a42004735c8ec0a9fc /include/linux
parent72d3dd250a0b12d50a0615417d6cb935c8d20537 (diff)
iio: light: vcnl4000: update sampling periods for vcnl4200
[ Upstream commit b42aa97ed5f1169cfd37175ef388ea62ff2dcf43 ] Vishay has published a new version of "Designing the VCNL4200 Into an Application" application note in October 2019. The new version specifies that there is +-20% of part to part tolerance. This explains the drift seen during experiments. The proximity pulse width is also changed from 32us to 30us. According to the support, the tolerance also applies to ambient light. So update the sampling periods. As the reading is blocking, current users may notice slightly longer response time. Fixes: be38866fbb97 ("iio: vcnl4000: add support for VCNL4200") Reviewed-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Tomas Novotny <tomas@novotny.cz> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions