<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/fdt/fdt_clock.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2014-09-02T03:23:05Z</updated>
<entry>
<title>Create an interface for drivers to enable or disable their clocks as listed</title>
<updated>2014-09-02T03:23:05Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2014-09-02T03:23:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6b6d6c4437cbc8d580710bd030d3f7055105a38a'/>
<id>urn:sha1:6b6d6c4437cbc8d580710bd030d3f7055105a38a</id>
<content type='text'>
in the clocks=&lt;...&gt; properties of their FDT data.  The clock properties
consist of 2-cell tuples, each containing a clock device node reference and
a clock number.  A clock device driver can register itself as providing
this interface, then other drivers can turn the FDT clock node reference
into the corresponding device_t so that they can use the interface to query
and manipulate their clocks.

This provides convenience functions to enable or disable all the clocks
listed in the properties for a device, so most drivers will be able to
manage their clocks with a single call to fdt_clock_enable_all(dev).
</content>
</entry>
</feed>
