diff options
| author | Jonathan Cameron <[email protected]> | 2021-03-14 18:15:04 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-04-07 08:36:36 +0100 |
| commit | f28334febda7f06b97dad2fa61a61831e03c88d1 (patch) | |
| tree | 09e94696846c40845d07fd9dd38aefae89c8d32e /tools/perf/scripts/python | |
| parent | a895ca4ad739e76164e337b6534974b401679392 (diff) | |
staging:iio:cdc:ad7150: Shift the _raw readings by 4 bits.
Every other register related to raw value on the datasheet is
described as correpsonding to the 12MSB of the actual
data registers + the bottom 4 bits are 0. So lets treat this
as what it actually is, which is a 12 bit value.
Note that we will have to be a little careful to compensate for
the offset and scale values.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions