Commit 2c95a756 authored by Thomas Wismer's avatar Thomas Wismer Committed by Jakub Kicinski
Browse files

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: 7f076ce3 ("net: pse-pd: tps23881: Add support for power limit and measurement features")
Signed-off-by: default avatarThomas Wismer <thomas.wismer@scs.ch>
Acked-by: default avatarKory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20251006204029.7169-2-thomas@wismer.xyz


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e475fa42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
#define TPS23881_REG_SRAM_DATA	0x61

#define TPS23881_UV_STEP	3662
#define TPS23881_NA_STEP	70190
#define TPS23881_NA_STEP	89500
#define TPS23881_MW_STEP	500
#define TPS23881_MIN_PI_PW_LIMIT_MW	2000