]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: cdns-dphy: Store hs_clk_rate and return it
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 23 Jul 2025 10:01:28 +0000 (13:01 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 13 Aug 2025 06:49:24 +0000 (12:19 +0530)
commit689a54acb56858c85de8c7285db82b8ae6dbf683
tree24dcefaed05a00d774a29c080e6e41f3bede62ac
parent78a474b5a31a25e0a77e50df42be925f7cb575e6
phy: cdns-dphy: Store hs_clk_rate and return it

The DPHY driver does not return the actual hs_clk_rate, so the DSI
driver has no idea what clock was actually achieved. Set the realized
hs_clk_rate to the opts struct, so that the DSI driver gets it back.

Reviewed-by: Aradhya Bhatia <aradhya.bhatia@linux.dev>
Tested-by: Parth Pancholi <parth.pancholi@toradex.com>
Tested-by: Jayesh Choudhary <j-choudhary@ti.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://lore.kernel.org/r/20250723-cdns-dphy-hs-clk-rate-fix-v1-1-d4539d44cbe7@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/cdns-dphy.c