]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: Add new phy_notify_state() api
authorVinod Koul <vkoul@kernel.org>
Tue, 18 Nov 2025 16:56:04 +0000 (22:26 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 18 Nov 2025 16:56:04 +0000 (22:26 +0530)
commit58e0f987c27040e4b23f1050836389229fc3a07e
tree5e1a16828aec206a25ae75aba4bb8b14a618c3b7
parent42690b8ec861b502538e425c5a7feb7a38764f04
parenta1af5d2be169ecec92cb4d85c811450d68164aec
phy: Add new phy_notify_state() api

Peter Griffin <peter.griffin@linaro.org> says:

This series adds a new phy_notify_state() API to the phy subsystem. It is
designed to be used when some specific runtime configuration parameters
need to be changed when transitioning to the desired state which can't be
handled by phy_calibrate()or phy_power_{on|off}().

The first user of the new API is phy-samsung-ufs and phy-gs101-ufs which
need to issue some register writes when entering and exiting the hibern8
link state.

A separate patch will be sent for ufs-exynos driver to make use of this new
API in the hibern8 callbacks.

Link: https://patch.msgid.link/20251112-phy-notify-pmstate-v5-0-39df622d8fcb@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>