Re: [PATCH anybus v3 5/6] dt-bindings: anybuss-host: document devicetree binding

From: Sven Van Asbroeck
Date: Mon Nov 12 2018 - 13:05:42 EST


On Thu, Nov 8, 2018 at 9:27 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> We do the same thing on PCI and USB, where normally everything
> is probed through hardware access, but a device driver can look
> at dev->of_node to see if that contains any further properties.
>

This is very interesting. Spent some time trying to find an example of this
for pci/usb, but drew a blank. Could you point me to an example?

One of our products has pcie ethernet, but we have to patch it so it can
grab its mac address from the bootloader. You are saying that there is
a standard way to accomplish this?