Skip to content

Commit 2c95a75

Browse files
Thomas Wismerkuba-moo
authored andcommitted
net: pse-pd: tps23881: Fix current measurement scaling
The TPS23881 improves on the TPS23880 with current sense resistors reduced from 255 mOhm to 200 mOhm. This has a direct impact on the scaling of the current measurement. However, the latest TPS23881 data sheet from May 2023 still shows the scaling of the TPS23880 model. Fixes: 7f076ce ("net: pse-pd: tps23881: Add support for power limit and measurement features") Signed-off-by: Thomas Wismer <[email protected]> Acked-by: Kory Maincent <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent e475fa4 commit 2c95a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/pse-pd/tps23881.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
#define TPS23881_REG_SRAM_DATA 0x61
6363

6464
#define TPS23881_UV_STEP 3662
65-
#define TPS23881_NA_STEP 70190
65+
#define TPS23881_NA_STEP 89500
6666
#define TPS23881_MW_STEP 500
6767
#define TPS23881_MIN_PI_PW_LIMIT_MW 2000
6868

0 commit comments

Comments
 (0)