summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-04-18 12:48:27 +0300
committerJoel Stanley <joel@jms.id.au>2022-04-18 13:15:30 +0300
commit714efc696528643b5b76ce1eba4e682b655bb272 (patch)
tree86bece0e568126ec183092f728711141a25abdf0 /arch
parent6f9905c52d8bed6d693d1dd174db9377bbd1d7b2 (diff)
downloadlinux-714efc696528643b5b76ce1eba4e682b655bb272.tar.xz
ARM: dts: aspeed: bletchley: add sample averaging for ADM1278
set number of sample averaging to 128 for both PWR_AVG and VI_AVG OpenBMC-Staging-Count: 1 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index eaf1bc261ee3..be76cd955129 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -732,6 +732,8 @@
compatible = "adi,adm1278";
reg = <0x11>;
shunt-resistor-micro-ohms = <300>;
+ adi,volt-curr-sample-average = <128>;
+ adi,power-sample-average = <128>;
};
tmp421@4c {