]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Support parsing PCI controller DT subnodes
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 10 Oct 2018 19:27:06 +0000 (21:27 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Oct 2018 19:23:38 +0000 (15:23 -0400)
commit02e4d38d87cbc2778321e4d50cf805c6a7fb3f64
treed1d1d0c46c040a89d4417f05397e15c2bc507483
parent8a3d734b1b7b613f9fd1b66b2e66d19bff4bab9d
pci: Support parsing PCI controller DT subnodes

The PCI controller can have DT subnodes describing extra properties
of particular PCI devices, ie. a PHY attached to an EHCI controller
on a PCI bus. This patch parses those DT subnodes and assigns a node
to the PCI device instance, so that the driver can extract details
from that node and ie. configure the PHY using the PHY subsystem.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c