[Bug 206228] [patch] Add fdt_reset based on the fdt_clock implementation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 14 08:23:00 UTC 2016


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 at FreeBSD.org
          Reporter: sgalabov at 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 at .

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.


More information about the freebsd-bugs mailing list