https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206228
Bug ID: 206228 Summary: [patch] Add fdt_reset based on the fdt_clock implementation Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: sgala...@gmail.com Keywords: patch Created attachment 165547 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165547&action=edit Add fdt_reset based on fdt_clock The attached patch adds fdt_reset functionality in much the same way as the sys/dev/fdt/fdt_clock* functionality by ian@. Basically, a driver that provides reset controller functionality (provider) to other drivers (consumers), can (un)register itself by calling fdt_reset_(un)register_provider. Once registered, consumers can simply call fdt_reset_(de)assert_all(consumer), where consumer is the consumer's device_t in order to get their associated resets (de)asserted. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"