phy: rockchip-snps-pcie3: only look for rockchip,pipe-grf on rk3588
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Sep 2022 05:17:52 +0000 (07:17 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 29 Sep 2022 06:13:04 +0000 (11:43 +0530)
commit37d40a21473fdf1d0194089eb259b8ceeec2a4b9
tree0aa45b01892bddd91fcb43a0f50b706ca22b1593
parent03b756d293484057b4248695345f4344b174af00
phy: rockchip-snps-pcie3: only look for rockchip,pipe-grf on rk3588

The rockchip,pipe-grf property is only used on rk3588, but not on
rk3568. Therefore this property is not present on rk3568 devices,
leading to the following message:

  rockchip-snps-pcie3-phy fe8c0000.phy: failed to find rockchip,pipe_grf regmap

Fix that by only looking for this property on rk3588.

Fixes: 2e9bffc4f713d ("phy: rockchip: Support PCIe v3")
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Link: https://lore.kernel.org/r/20220927051752.53089-1-aurelien@aurel32.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c