[U-Boot] [PATCH 1/4] pci: Support parsing PCI controller DT subnodes
Bin Meng
bmeng.cn at gmail.com
Thu Oct 11 03:21:18 UTC 2018
On Thu, Oct 11, 2018 at 3:27 AM Marek Vasut <marek.vasut at gmail.com> wrote:
>
> 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 at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> V2: Use ofnode_read_pci_addr() instead of ofnode_get_addr_size()
> ---
> drivers/pci/pci-uclass.c | 32 +++++++++++++++++++++++++++++---
> 1 file changed, 29 insertions(+), 3 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list