]> Gentwo Git Trees - linux/.git/commit
net: pse-pd: tps23881: Fix current measurement scaling
authorThomas Wismer <thomas.wismer@scs.ch>
Mon, 6 Oct 2025 20:40:29 +0000 (22:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Oct 2025 01:30:53 +0000 (18:30 -0700)
commit2c95a756e0cfc19af6d0b32b0c6cf3bada334998
tree211337ade78454c3085203c853897653c9a2d9e2
parente475fa420e6c53a5023e89dbf0d51bd027b5a776
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: 7f076ce3f1733 ("net: pse-pd: tps23881: Add support for power limit and measurement features")
Signed-off-by: Thomas Wismer <thomas.wismer@scs.ch>
Acked-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20251006204029.7169-2-thomas@wismer.xyz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pse-pd/tps23881.c