net: pse-pd: tps23881: Fix current measurement scaling
Subsystems (3)
PATCH 1/1 net: pse-pd: tps23881: Fix current measurement scaling
From: Thomas Wismer <[email protected]>
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.
--- drivers/net/pse-pd/tps23881.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/pse-pd/tps23881.c +1 -1
@@ -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
Signature · 1 line
2.43.0
Quoted 9 lines · On Mon, 6 Oct 2025 22:40:29 +0200 Thomas Wismer <[email protected]> wrote:
From: Thomas Wismer <[email protected]>
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 7f076ce3f1733 ("net: pse-pd: tps23881: Add support for power limit andmeasurement features") Signed-off-by: Thomas Wismer <[email protected]>
Thank you!
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Mon, 6 Oct 2025 22:40:29 +0200 you wrote:
From: Thomas Wismer <[email protected]>
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.
[...]
Here is the summary with links:
- [net] net: pse-pd: tps23881: Fix current measurement scaling
https://git.kernel.org/netdev/net/c/2c95a756e0cf
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html