phy: sparx5-serdes: power on CMUs individually
authorDaniel Machon <daniel.machon@microchip.com>
Mon, 17 Apr 2023 18:03:33 +0000 (20:03 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 May 2023 11:43:01 +0000 (17:13 +0530)
commit96bb1664257c7d7507c7b324a952603e2b0a625e
treee9583f353355203e50b50f626a449f4159d4a44d
parent044f3a1a8d331ef1a96a8445cafb8a23376cbf52
phy: sparx5-serdes: power on CMUs individually

Power on the CMU instance, that provides the clock for the serdes, given the
specified serdes mode and index. The CMU instance is looked up, using a
preset map of serdes mode and index to CMU index.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20230417180335.2787494-6-daniel.machon@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/microchip/sparx5_serdes.c