aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-10-21 11:45:13 +0100
committerBjorn Helgaas <bhelgaas@google.com>2021-11-04 14:34:23 -0500
commite636c1690941a396aa7643ae2c4397cebaa2851e (patch)
treec502ae560c43f5911cffad2a0042bfa0bafa4164 /drivers/pci/controller
parentPCI: kirin: Support PERST# GPIOs for HiKey970 external PEX 8606 bridge (diff)
downloadlinux-dev-e636c1690941a396aa7643ae2c4397cebaa2851e.tar.xz
linux-dev-e636c1690941a396aa7643ae2c4397cebaa2851e.zip
PCI: kirin: Add Kirin 970 compatible
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>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/dwc/pcie-kirin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c
index 889e1eef4136..0e3c70f54e94 100644
--- a/drivers/pci/controller/dwc/pcie-kirin.c
+++ b/drivers/pci/controller/dwc/pcie-kirin.c
@@ -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
+ },
{},
};