phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1 as clocks (mux clocks)
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 19 Mar 2021 12:41:27 +0000 (18:11 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Mar 2021 11:13:21 +0000 (16:43 +0530)
commit28081b72859f0fa3d5b56cfd84b2f5ba578765d2
tree79304aaaab9c7c871f79771c9bfafb630f1dac59
parentdb7a346405dc71be0c4ad7f39dd7978d4d20dee0
phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1 as clocks (mux clocks)

Sierra has two PLLs, PLL_CMNLC and PLL_CMNLC1 and each of these PLLs has
two inputs, plllc_refclk (input from pll0_refclk) and refrcv (input from
pll1_refclk). Model PLL_CMNLC and PLL_CMNLC1 as clocks so that it's
possible to select one of these two inputs from device tree.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Swapnil Jakhade <sjakhade@cadence.com>
Link: https://lore.kernel.org/r/20210319124128.13308-13-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/Kconfig
drivers/phy/cadence/phy-cadence-sierra.c