[PATCH linux dev-5.15 0/2] hwmon: (adm1275) Add sample averaging binding support
Potin Lai
potin.lai at quantatw.com
Thu Mar 3 16:43:54 AEDT 2022
This patch series allow user config PWR_AVG and VI_AVG in PMON_CONF
register by adding properties in device tree.
Example:
adm1278 at 11 {
compatible = "adi,adm1278";
......
adi,volt-curr-sample-average = <128>;
adi,power-sample-average = <128>;
};
Link: https://lore.kernel.org/all/20220302123817.27025-1-potin.lai@quantatw.com/
Potin Lai (2):
hwmon: (adm1275) Allow setting sample averaging
dt-bindings: hwmon: Add sample averaging properties for ADM1275
.../bindings/hwmon/adi,adm1275.yaml | 68 +++++++++++++++++++
drivers/hwmon/pmbus/adm1275.c | 40 ++++++++++-
2 files changed, 107 insertions(+), 1 deletion(-)
--
2.17.1
More information about the openbmc
mailing list