PCI: Add quirks to generate device tree node for Xilinx Alveo U50
authorLizhi Hou <lizhi.hou@amd.com>
Tue, 15 Aug 2023 17:19:58 +0000 (10:19 -0700)
committerRob Herring <robh@kernel.org>
Tue, 22 Aug 2023 19:56:09 +0000 (14:56 -0500)
commitae9813db1dc5ac987a09889791155a7b8c527f8d
treed2b443de18b9c4c03421a77ad0d6d874b1b95d78
parent407d1a51921e9f28c1bcec647c2205925bd1fdab
PCI: Add quirks to generate device tree node for Xilinx Alveo U50

The Xilinx Alveo U50 PCI card exposes multiple hardware peripherals on
its PCI BAR. The card firmware provides a flattened device tree to
describe the hardware peripherals on its BARs. This allows U50 driver to
load the flattened device tree and generate the device tree node for
hardware peripherals underneath.

To generate device tree node for U50 card, add PCI quirks to call
of_pci_make_dev_node() for U50.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/1692120000-46900-4-git-send-email-lizhi.hou@amd.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/pci/quirks.c