diff options
| author | Andrea Merello <[email protected]> | 2019-11-20 15:47:50 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-11-23 12:31:46 +0000 |
| commit | 57a4274ce168d4e63a7b5f4a8a776f7bdd5666a9 (patch) | |
| tree | bc692f39c973bb71e4fa3c57086126e7b4b947c2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3f6bba19071eac393a7f39755e235b286a7bb09a (diff) | |
iio: max31856: add support for configuring the HW averaging
This sensor can perform samples averaging in hardware, but currently the
driver leaves this setting alone (default is no averaging).
This patch binds this HW setting to the "oversampling_ratio" IIO attribute
and allows the user to set the averaging as desired (the HW supports
averaging of 2, 5, 8 or 16 samples; in-between values are rounded up).
Cc: Hartmut Knaack <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Patrick Havelange <[email protected]>
Cc: Matt Weber <[email protected]>
Cc: Matt Ranostay <[email protected]>
Cc: Chuhong Yuan <[email protected]>
Cc: Daniel Gomez <[email protected]>
Cc: [email protected]
Signed-off-by: Andrea Merello <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions