]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: rename devlink parameter ts_coarse into phc_coarse_adj
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 30 Oct 2025 18:24:53 +0000 (19:24 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Nov 2025 01:05:36 +0000 (17:05 -0800)
commit209ff7af79bf495e6c3d300bf3dea6aeea973bc7
tree67d3c917f2c16f4be67458d425e125a7d79847bc
parent22795871edea35dfaf63011782ea77a3f440a655
net: stmmac: rename devlink parameter ts_coarse into phc_coarse_adj

The devlink param "ts_coarse" doesn't indicate that we get coarse
timestamps, but rather that the PHC clock adjusments are coarse as the
frequency won't be continuously adjusted. Adjust the devlink parameter
name to reflect that.

The Coarse terminlogy comes from the dwmac register naming, update the
documentation to better explain what the parameter is about.

With this change, the parameter can now be adjusted using:
  devlink dev param set <dev> name phc_coarse_adj value true cmode runtime

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20251030182454.182406-1-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/devlink/stmmac.rst
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c