Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 08:23:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206228] [patch] Add fdt_reset based on the fdt_clock implementation
Message-ID:  <bug-206228-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206228

            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: sgalabov@gmail.com
          Keywords: patch

Created attachment 165547
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165547&action=
=3Dedit
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(consume=
r),
where consumer is the consumer's device_t in order to get their associated
resets (de)asserted.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206228-8>