• Heikki Krogerus's avatar
    drivers: base: Introducing software nodes to the firmware node framework · 59abd836
    Heikki Krogerus authored
    Software node is a new struct fwnode_handle type that can be
    used to describe devices in kernel (software). It is meant
    to complement fwnodes representing real firmware nodes when
    they are incomplete (for example missing device properties)
    and to supply the primary fwnode when the firmware lacks
    hardware description for a device completely.
    
    The software node type is really meant to replace the
    currently used "property_set" struct fwnode_handle type. The
    handling of struct property_set is glued to the generic
    device property handling code, and it is not possible to
    create a struct property_set independently from the device
    that it is bind to. struct property_set is only created when
    device properties are added to already initialized struct
    device, and control of it is only possible from the generic
    property handling code.
    
    Software nodes are instead designed to be created
    independently from the device entries (struct device). It
    make...
    59abd836
sysfs-devices-software_node 492 Bytes