aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2017-08-24 17:00:20 -0500
committerJean-Jacques Hiblot2017-08-25 07:16:11 -0500
commit64fe08d902ef914346be6309bd4c317d56b191b9 (patch)
tree2f155f7a6149ec895ad370d13c92212e51150606
parent8e5307a4f7f7c091c131b8df838e7e7d4b235b5f (diff)
downloadkernel-omap-64fe08d902ef914346be6309bd4c317d56b191b9.tar.gz
kernel-omap-64fe08d902ef914346be6309bd4c317d56b191b9.tar.xz
kernel-omap-64fe08d902ef914346be6309bd4c317d56b191b9.zip
PCI: dwc: dra7xx: Add support for SoC specific compatible strings
dra74x/dra76x and dra72x has separate compatible strings. Add support for these compatible strings in pci-dra7xx driver. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
-rw-r--r--drivers/pci/controller/pci-dra7xx.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/pci/controller/pci-dra7xx.c b/drivers/pci/controller/pci-dra7xx.c
index d60d4cf20516..88a649267213 100644
--- a/drivers/pci/controller/pci-dra7xx.c
+++ b/drivers/pci/controller/pci-dra7xx.c
@@ -515,6 +515,22 @@ static const struct of_device_id of_dra7xx_pcie_match[] = {
515 .compatible = "ti,dra7-pcie-ep", 515 .compatible = "ti,dra7-pcie-ep",
516 .data = &dra7xx_pcie_ep_of_data, 516 .data = &dra7xx_pcie_ep_of_data,
517 }, 517 },
518 {
519 .compatible = "ti,dra746-pcie-rc",
520 .data = &dra7xx_pcie_rc_of_data,
521 },
522 {
523 .compatible = "ti,dra746-pcie-ep",
524 .data = &dra7xx_pcie_ep_of_data,
525 },
526 {
527 .compatible = "ti,dra726-pcie-rc",
528 .data = &dra7xx_pcie_rc_of_data,
529 },
530 {
531 .compatible = "ti,dra726-pcie-ep",
532 .data = &dra7xx_pcie_ep_of_data,
533 },
518 {}, 534 {},
519}; 535};
520MODULE_DEVICE_TABLE(of, of_dra7xx_pcie_match); 536MODULE_DEVICE_TABLE(of, of_dra7xx_pcie_match);