HomeFreeBSD

gpiobus: add a gpiobus_add_bus function

Description

gpiobus: add a gpiobus_add_bus function

Some drivers need to postpone the attachment of gpiobus until hardware
init is done. Add a new gpiobus_add_bus function to accommodate this
case.

Suggested by: mmel, andrew
Reviewed by: mmel, imp, andrew
Approved by: imp (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D51133

Details

Provenance
vexeduxrAuthored on Jul 4 2025, 1:51 PM
Reviewer
mmel
Differential Revision
D51133: gpiobus: add a gpiobus_add_bus function
Parents
rGc2d8cca77152: gpio: remove redundant calls to bus_attach_children
Branches
Unknown
Tags
Unknown