PCI: kirin: Add Kirin 970 compatible
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 21 Oct 2021 10:45:13 +0000 (11:45 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 19:34:23 +0000 (14:34 -0500)
Now that everything is in place, add a compatible for Kirin 970.

Link: https://lore.kernel.org/r/ac8c730c0300b90d96bdaaf387d458d8949241a9.1634812676.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Xiaowei Song <songxiaowei@hisilicon.com>
drivers/pci/controller/dwc/pcie-kirin.c

index 889e1ee..0e3c70f 100644 (file)
@@ -739,6 +739,10 @@ static const struct of_device_id kirin_pcie_match[] = {
                .compatible = "hisilicon,kirin960-pcie",
                .data = (void *)PCIE_KIRIN_INTERNAL_PHY
        },
+       {
+               .compatible = "hisilicon,kirin970-pcie",
+               .data = (void *)PCIE_KIRIN_EXTERNAL_PHY
+       },
        {},
 };