mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
phy: qcom-qmp: fix obsolete lane comments
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>
This commit is contained in:
parent
a84ed1919f
commit
8d3bf72497
5 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue