Message ID | 20230313153953.422375-3-lucas.tanure@collabora.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add PCIe2 driver support for Rockchip | expand |
On 13/03/2023 16:39, Lucas Tanure wrote: > RK3588 can use the same PCIe driver as rk3568 > > Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com> > --- > drivers/pci/controller/dwc/pcie-dw-rockchip.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c > index c1e7653e508e..435b717e5bc6 100644 > --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c > +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c > @@ -354,6 +354,7 @@ static int rockchip_pcie_probe(struct platform_device *pdev) > > static const struct of_device_id rockchip_pcie_of_match[] = { > { .compatible = "rockchip,rk3568-pcie", }, > + { .compatible = "rockchip,rk3588-pcie", }, Why do you need new entry then? Best regards, Krzysztof
diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c index c1e7653e508e..435b717e5bc6 100644 --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -354,6 +354,7 @@ static int rockchip_pcie_probe(struct platform_device *pdev) static const struct of_device_id rockchip_pcie_of_match[] = { { .compatible = "rockchip,rk3568-pcie", }, + { .compatible = "rockchip,rk3588-pcie", }, {}, };
RK3588 can use the same PCIe driver as rk3568 Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com> --- drivers/pci/controller/dwc/pcie-dw-rockchip.c | 1 + 1 file changed, 1 insertion(+)