diff options
| author | Matteo Martelli <matteomartelli3@gmail.com> | 2024-07-24 11:08:33 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-03 10:13:44 +0100 |
| commit | 371f778b83cd94467852efb466d74dc84eddd11e (patch) | |
| tree | 04ce5fb67de539853f2cf9fa2678fd03831c927a /tools/perf/scripts/python | |
| parent | dt-bindings: iio: adc: add binding for pac1921 (diff) | |
| download | linux-371f778b83cd94467852efb466d74dc84eddd11e.tar.gz linux-371f778b83cd94467852efb466d74dc84eddd11e.zip | |
iio: adc: add support for pac1921
Add support for Microchip PAC1921 Power/Current monitor.
Implemented features:
* capture of bus voltage, sense voltage, current and power measurements
in free-run integration mode
* support for both raw and triggered buffer reading
* support for overflow events
* scale attributes to control voltage and current gains
* oversampling ratio attribute to control the number of integration
samples
* sampling rate attribute that reflects the integration period
* userspace attribute and DT parameter to control shunt resistor
* simple power management support
Limitations:
* operation mode fixed to free-run integration
* READ/INT pin and OUT pin not supported
* no controls for measurement resolutions and filters
Signed-off-by: Matteo Martelli <matteomartelli3@gmail.com>
Link: https://patch.msgid.link/20240724-iio-pac1921-v4-3-723698e903a3@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
