phy: qcom-qmp: fix obsolete lane comments
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 17 Oct 2022 06:50:03 +0000 (08:50 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Oct 2022 08:15:46 +0000 (13:45 +0530)
All QMP drivers but the MSM8996 and combo ones handle exactly one PHY
and the corresponding memory resources are not per-lane, but per PHY.

Update the obsolete comments.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221017065013.19647-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
drivers/phy/qualcomm/phy-qcom-qmp-usb.c

index 9807c4d935cdb4a482a8213d1196b58ce620890c..8a2a35c0855b435a2091d5a606aee56fad526b29 100644 (file)
@@ -2669,7 +2669,7 @@ static int qmp_combo_create(struct device *dev, struct device_node *np, int id,
        qphy->cfg = cfg;
        qphy->serdes = serdes;
        /*
-        * Get memory resources for each phy lane:
+        * Get memory resources for each PHY:
         * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
         * For dual lane PHYs: tx2 -> 3, rx2 -> 4, pcs_misc (optional) -> 5
         * For single lane PHYs: pcs_misc (optional) -> 3.
index 461f0b5d464a8b788449111dda43bab95938a419..707ec81c7a2ae941e90040d6c8b6c0a3d65716ae 100644 (file)
@@ -777,7 +777,7 @@ static int qmp_pcie_msm8996_create(struct device *dev, struct device_node *np, i
        qphy->cfg = cfg;
        qphy->serdes = serdes;
        /*
-        * Get memory resources for each phy lane:
+        * Get memory resources for each PHY:
         * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
         */
        qphy->tx = devm_of_iomap(dev, np, 0, NULL);
index f3f75eda01a6dd2eb70574d68851fe808532d17a..e0408c423ac6d8e818c347eb54f0dd76fab90944 100644 (file)
@@ -2319,7 +2319,7 @@ static int qmp_pcie_create(struct device *dev, struct device_node *np, int id,
        qphy->cfg = cfg;
        qphy->serdes = serdes;
        /*
-        * Get memory resources for each phy lane:
+        * Get memory resources for the PHY:
         * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
         * For dual lane PHYs: tx2 -> 3, rx2 -> 4, pcs_misc (optional) -> 5
         * For single lane PHYs: pcs_misc (optional) -> 3.
index c08d34ad1313e77db98773debe32d97f1875404d..db5642e1f7154ce50a2583769daf61602c0638fe 100644 (file)
@@ -1094,7 +1094,7 @@ static int qmp_ufs_create(struct device *dev, struct device_node *np, int id,
        qphy->cfg = cfg;
        qphy->serdes = serdes;
        /*
-        * Get memory resources for each phy lane:
+        * Get memory resources for the PHY:
         * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
         * For dual lane PHYs: tx2 -> 3, rx2 -> 4, pcs_misc (optional) -> 5
         * For single lane PHYs: pcs_misc (optional) -> 3.
index b84c0d4b57541644e96dc0b567f724a1775ff725..965e486ab87dfde861b00c6f01f315b8b2de12ff 100644 (file)
@@ -2581,7 +2581,7 @@ int qmp_usb_create(struct device *dev, struct device_node *np, int id,
        qphy->cfg = cfg;
        qphy->serdes = serdes;
        /*
-        * Get memory resources for each phy lane:
+        * Get memory resources for the PHY:
         * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
         * For dual lane PHYs: tx2 -> 3, rx2 -> 4, pcs_misc (optional) -> 5
         * For single lane PHYs: pcs_misc (optional) -> 3.