ARM: dts: aspeed: bletchley: add sample averaging for ADM1278
authorPotin Lai <potin.lai@quantatw.com>
Mon, 18 Apr 2022 09:48:27 +0000 (17:48 +0800)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 May 2022 07:35:19 +0000 (17:05 +0930)
set number of sample averaging to 128 for both PWR_AVG and VI_AVG

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220418094827.6185-1-potin.lai@quantatw.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts

index 3e962fe..41d2b15 100644 (file)
                compatible = "adi,adm1278";
                reg = <0x11>;
                shunt-resistor-micro-ohms = <300>;
+               adi,volt-curr-sample-average = <128>;
+               adi,power-sample-average = <128>;
        };
 
        tmp421@4c {