PCI: link PCI devices with potentially existing OF nodes
The document "PCI Bus Binding to: IEEE Std 1275-1994 Standard for Boot
(Initialization Configuration) Firmware" describes how the PCI topology
can be described in the DT, in order to augment the PCI devices with
additional information via DT properties.

This patch links OF nodes to the corresponding PCI devices if they
exist, allowing PCI device drivers to query DT information like any
platform device.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6d1b29b commit dcad7abc47f78d401519e64a6d917a2835af26d5
@Lucas Stach Lucas Stach authored on 1 Aug 2018
Sascha Hauer committed on 8 Aug 2018
Showing 1 changed file
View
drivers/pci/pci.c