[PATCH linux dev-5.15 RESEND 0/2] hwmon: (adm1275) Add sample averaging binding support

Joel Stanley joel at jms.id.au
Mon Apr 18 20:21:21 AEST 2022


On Mon, 18 Apr 2022 at 09:18, Potin Lai <potin.lai at quantatw.com> wrote:
>
> 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

Thanks, I've merged these and the device tree change.

>
>  .../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