diff options
| author | Mårten Lindahl <[email protected]> | 2024-01-15 12:44:36 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-02-17 16:16:09 +0000 |
| commit | 44b90383453c6664b119ec985e70f87c90e050f1 (patch) | |
| tree | e823351084d03603c7fcdd48da66424feb585619 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1ca53b5df113bd008f5fd7ecdf108872f1cf7508 (diff) | |
iio: light: vcnl4000: Set ps high definition for 4040/4200
The vcnl4040/vcnl4200 proximity sensor defaults to 12 bit data
resolution, but the chip also supports 16 bit data resolution, which is
called proximity high definition (PS_HD).
Make the vcnl4040/vcnl4200 proximity sensor use the high definition for
all data readings. Please note that in order to preserve the 12 bit
integer part of the in_proximity_raw output, the format is changed from
integer to fixed point.
Signed-off-by: Mårten Lindahl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions