diff options
author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2025-09-08 07:35:22 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-09-13 13:47:19 +0100 |
commit | 70da02061499ca89ab92f7c4310f815d5fe674ec (patch) | |
tree | faca7e43e7e8ddb31edc8d2f1c5eaf4f7bbb1e2e /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | f15bc37d8c336e79491209b268e73868c44733c4 (diff) |
iio: add power and energy measurement modifiers
Add new IIO modifiers to support power and energy measurement devices:
Power modifiers:
- IIO_MOD_ACTIVE: Real power consumed by the load
- IIO_MOD_REACTIVE: Power that oscillates between source and load
- IIO_MOD_APPARENT: Magnitude of complex power
Signal quality modifiers:
- IIO_MOD_RMS: Root Mean Square value
Additionally adds:
- IIO_CHAN_INFO_POWERFACTOR: Power factor channel info type for
representing the ratio of active power to apparent power
These modifiers enable proper representation of power measurement
devices like energy meters and power analyzers.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions