]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: rockchip-pcie: Enable all four lanes if required
authorValmantas Paliksa <walmis@gmail.com>
Mon, 30 Jun 2025 22:25:14 +0000 (19:25 -0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Jul 2025 12:28:44 +0000 (17:58 +0530)
commitc3fe7071e196e25789ecf90dbc9e8491a98884d7
tree4e26616ee32a4547592ef8df6404478b1bf7407d
parentdfef90f29811b5b8bc6353e259cac6134a88671f
phy: rockchip-pcie: Enable all four lanes if required

Current code enables only Lane 0 because pwr_cnt will be incremented on
first call to the function. Let's reorder the enablement code to enable
all 4 lanes through GRF.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Valmantas Paliksa <walmis@gmail.com>
Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/16b610aab34e069fd31d9f57260c10df2a968f80.1751322015.git.geraldogabriel@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-pcie.c