Skip to content

Commit

Permalink
ARM: dts: aspeed: bletchley: add sample averaging for ADM1278
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Potin Lai authored and Joel Stanley committed May 19, 2022
1 parent 8c9e374 commit 244839d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@
compatible = "adi,adm1278";
reg = <0x11>;
shunt-resistor-micro-ohms = <300>;
adi,volt-curr-sample-average = <128>;
adi,power-sample-average = <128>;
};

tmp421@4c {
Expand Down

0 comments on commit 244839d

Please sign in to comment.