lkml.org 
[lkml]   [2022]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [net-next 1/5] net: mdio: fwnode: add fwnode_mdiobus_register()
    On Fri, Mar 25, 2022 at 06:22:30PM +0100, Clément Léger wrote:
    > In order to support software node description transparently, add fwnode
    > support with fwnode_mdiobus_register(). This function behaves exactly
    > like of_mdiobus_register() function but using the fwnode node agnostic
    > API. This support might also be used to merge ACPI mdiobus support
    > which is quite similar to the fwnode one.
    >
    > Some part such as the whitelist matching are kept exclusively for OF
    > nodes since it uses an of_device_id struct and seems tightly coupled
    > with OF. Other parts are generic and will allow to move the existing
    > OF support on top of this fwnode version.

    Does fwnode have any documentation? How does a developer know what
    properties can be passed? Should you be adding a

    Documentation/fwnode/bindings/net/mdio.yaml ?

    Andrew

    \
     
     \ /
      Last update: 2022-09-17 16:19    [W:4.127 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site