[PATCH 0/2] hwmon: (adm1275) Add sample averaging binding support

From: Potin Lai
Date: Wed Feb 23 2022 - 11:38:44 EST


This patch series allow PWR_AVG and VI_AVG set from device tree

Example:
adm1278@11 {
compatible = "adi,adm1278";
......
pwr-avg = <128>;
vi-avg = <128>;
};

Potin Lai (2):
hwmon: (adm1275) Allow setting sample averaging
dt-bindings: hwmon: Add sample averaging property for ADM1275

.../bindings/hwmon/adi,adm1275.yaml | 10 ++++++++
drivers/hwmon/pmbus/adm1275.c | 25 +++++++++++++++++++
2 files changed, 35 insertions(+)

--
2.17.1