[PATCH v3 15/15] phy: qcom-qmp-pcie: add support for sc8280xp 4-lane PHYs

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Oct 21 04:19:41 PDT 2022


On 21/10/2022 14:09, Johan Hovold wrote:
> The PCIe2 and PCIe3 controllers and PHYs on SC8280XP can be used in
> 4-lane mode or as separate controllers and PHYs in 2-lane mode (e.g. as
> PCIe2A and PCIe2B).
> 
> Add support for fetching the 4-lane configuration from the TCSR and
> programming the lane registers of the second port when in 4-lane mode.
> 
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> ---
>   drivers/phy/qualcomm/Kconfig             |   1 +
>   drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 117 +++++++++++++++++++++++
>   2 files changed, 118 insertions(+)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
-- 
With best wishes
Dmitry




More information about the linux-phy mailing list