phy: qcom-qusb2: Add missing vdd supply
authorShawn Guo <shawn.guo@linaro.org>
Tue, 28 Sep 2021 02:20:01 +0000 (10:20 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 Oct 2021 07:47:56 +0000 (13:17 +0530)
Per downstream kernel, beside vdda-pll and vdda-phy-dpdm, vdd is also a
required supply for QUSB2 PHY digital circuit operation.  The driver
works right now likely because firmware already sets it up.  Add it for
correctness and completeness.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210928022002.26286-3-shawn.guo@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qusb2.c

index ae063a8b3e28d40f10540040015a430bcc77740e..7a8e4333babe45f36c3ad51ab7e4b67bed8cca8f 100644 (file)
@@ -371,7 +371,7 @@ static const struct qusb2_phy_cfg sm6115_phy_cfg = {
 };
 
 static const char * const qusb2_phy_vreg_names[] = {
-       "vdda-pll", "vdda-phy-dpdm",
+       "vdd", "vdda-pll", "vdda-phy-dpdm",
 };
 
 #define QUSB2_NUM_VREGS                ARRAY_SIZE(qusb2_phy_vreg_names)