OSDN Git Service

phy: qcom-qmp: Fix phy pipe clock name
authorVaradarajan Narayanan <varada@codeaurora.org>
Mon, 31 Jul 2017 06:34:13 +0000 (12:04 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Aug 2017 08:29:44 +0000 (13:59 +0530)
commit2a9316b04605a0d47bafe50454d067a97b00dfef
treefa8b6032450d4013e4833da82bf00521d345ec6a
parent2d66eab1837542bdb347f514df1cd05ec1fc2969
phy: qcom-qmp: Fix phy pipe clock name

Presently, the phy pipe clock's name is assumed to be either
usb3_phy_pipe_clk_src or pcie_XX_pipe_clk_src (where XX is the
phy lane's number). However, this will not work if an SoC has
more than one instance of the phy. Hence, instead of assuming
the name of the clock, fetch it from the DT.

Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qmp.c