Re: [PATCH] phy: rockchip-samsung-dcphy: Enable runtime PM at PHY core level
From: Heiko Stuebner
Date: Thu Aug 27 2026 - 09:48:12 EST
Am Freitag, 21. August 2026, 13:44:19 Mitteleuropäische Sommerzeit schrieb Jason Yang via B4 Relay:
> From: Jason Yang <jason98166@xxxxxxxxx>
>
> phy_create() only enables runtime PM on the new PHY device if the parent
> already has it enabled, and this driver enables it afterwards. The PHY
> device therefore never gets runtime PM, and phy_pm_runtime_get_sync()
> returns -ENOTSUPP for every phy_init() and phy_power_on(). The block is
> still resumed today, but only through the supplier link fw_devlink builds
> from the phys phandle, which fw_devlink=off and =permissive do not.
>
> Move devm_pm_runtime_enable() before devm_phy_create(), as done for the
> sibling HDPTX PHY in commit 10ba8479f460 ("phy:
> phy-rockchip-samsung-hdptx: Enable runtime PM at PHY core level").
>
> Fixes: b2a1a2ae7818 ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver")
> Signed-off-by: Jason Yang <jason98166@xxxxxxxxx>
Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>