<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/extres/clk, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>clk: Fix a typo in a source code comment</title>
<updated>2026-06-17T04:50:42+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2026-06-14T08:51:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1dfc91f289424fd40a056ebb7b32d19577403dd2'/>
<id>1dfc91f289424fd40a056ebb7b32d19577403dd2</id>
<content type='text'>
- s/freqency/frequency/

(cherry picked from commit 58cf810066c850131d29de2eee32239e6f817c58)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/freqency/frequency/

(cherry picked from commit 58cf810066c850131d29de2eee32239e6f817c58)
</pre>
</div>
</content>
</entry>
<entry>
<title>clk_fixed: call clkdom_dump() for verbose boot</title>
<updated>2024-04-18T18:11:31+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2024-03-08T14:08:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=29701960b3ba792c8897cce23605ee79ec91c89e'/>
<id>29701960b3ba792c8897cce23605ee79ec91c89e</id>
<content type='text'>
This is standard practice for clock drivers that register clocks
dynamically. Nothing else uses the CLK_DEBUG macro.

The result is that the name and frequency of the fixed clock is printed
for a verbose boot, which may aid in debugging.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44265

(cherry picked from commit 6e66bb9fc3d026765113fa1258cd12292da9309a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is standard practice for clock drivers that register clocks
dynamically. Nothing else uses the CLK_DEBUG macro.

The result is that the name and frequency of the fixed clock is printed
for a verbose boot, which may aid in debugging.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44265

(cherry picked from commit 6e66bb9fc3d026765113fa1258cd12292da9309a)
</pre>
</div>
</content>
</entry>
<entry>
<title>clk_fixed: quiet by default</title>
<updated>2024-04-18T18:11:31+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2024-03-08T14:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5eb27a0d68f5b7cd64d5a269b727c5f22185a40c'/>
<id>5eb27a0d68f5b7cd64d5a269b727c5f22185a40c</id>
<content type='text'>
We may attach several of these devices, but there is no meaningful
information added to dmesg. For example:

  ofwbus0: &lt;Open Firmware Device Tree&gt;
  clk_fixed0: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed1: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed2: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed3: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed4: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed5: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed6: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed7: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed8: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed9: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed10: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed11: &lt;Fixed clock&gt; on ofwbus0

To reduce this noise, quiet the devices for by default. For verbose
boot, the message will be emitted.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44266

(cherry picked from commit 1cb9f6f6413e9d242de47e730ec7d4ce3e5688fe)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We may attach several of these devices, but there is no meaningful
information added to dmesg. For example:

  ofwbus0: &lt;Open Firmware Device Tree&gt;
  clk_fixed0: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed1: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed2: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed3: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed4: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed5: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed6: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed7: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed8: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed9: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed10: &lt;Fixed clock&gt; on ofwbus0
  clk_fixed11: &lt;Fixed clock&gt; on ofwbus0

To reduce this noise, quiet the devices for by default. For verbose
boot, the message will be emitted.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44266

(cherry picked from commit 1cb9f6f6413e9d242de47e730ec7d4ce3e5688fe)
</pre>
</div>
</content>
</entry>
<entry>
<title>clkdom_dump(): improve output text</title>
<updated>2024-04-18T18:11:31+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2024-03-08T14:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=327987597bff4db5984d7704e7235647cc76c931'/>
<id>327987597bff4db5984d7704e7235647cc76c931</id>
<content type='text'>
If the call to clknode_get_freq() returns an error (unlikely), report
this, rather than printing the error code as the clock frequency.

If the clock has no parent (e.g. a fixed reference clock), print "none"
rather than "(NULL)(-1)". This is a more human-legible presentation of the
same information.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44267

(cherry picked from commit 08635c51d1e34f8a3e42c7cf35dc7264a5b68118)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the call to clknode_get_freq() returns an error (unlikely), report
this, rather than printing the error code as the clock frequency.

If the clock has no parent (e.g. a fixed reference clock), print "none"
rather than "(NULL)(-1)". This is a more human-legible presentation of the
same information.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44267

(cherry picked from commit 08635c51d1e34f8a3e42c7cf35dc7264a5b68118)
</pre>
</div>
</content>
</entry>
<entry>
<title>clk_fixed: reduce and clarify messages due to missing clk-frequency</title>
<updated>2023-09-21T21:14:47+00:00</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2023-08-25T20:11:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2476a76031908016dd2513862d46ad8dd2bab462'/>
<id>2476a76031908016dd2513862d46ad8dd2bab462</id>
<content type='text'>
The current dts for Raspberry 3B+ and 4B have 2 disabled fixed-clock
nodes which have no clock-frequency value.  Such nodes are non-standard.
This results in about 150 messages during autoconfiguration:

    clk_fixed2: &lt;Fixed clock&gt; disabled on ofwbus0
    clk_fixed2: Cannot FDT parameters.
    device_attach: clk_fixed2 attach returned 6

Defensively check for clock-frequency in the probe routine, and if
none, return an error with a more direct error message (1 line per
occurrence, 50 lines total):

    clk_fixed2: clock-fixed has no clock-frequency

Based on a patch by manu.

Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41594

(cherry picked from commit b4ef09b9eb117d622bb274448e5cffcae0ba3488)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current dts for Raspberry 3B+ and 4B have 2 disabled fixed-clock
nodes which have no clock-frequency value.  Such nodes are non-standard.
This results in about 150 messages during autoconfiguration:

    clk_fixed2: &lt;Fixed clock&gt; disabled on ofwbus0
    clk_fixed2: Cannot FDT parameters.
    device_attach: clk_fixed2 attach returned 6

Defensively check for clock-frequency in the probe routine, and if
none, return an error with a more direct error message (1 line per
occurrence, 50 lines total):

    clk_fixed2: clock-fixed has no clock-frequency

Based on a patch by manu.

Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41594

(cherry picked from commit b4ef09b9eb117d622bb274448e5cffcae0ba3488)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow clk_fixed.c to be built without FDT</title>
<updated>2022-10-28T17:31:55+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2022-10-28T16:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8724dd26d49fbfa9b9486d30cb34380514bb952d'/>
<id>8724dd26d49fbfa9b9486d30cb34380514bb952d</id>
<content type='text'>
Include opt_platform.h to get the FDT definition and only include FDT
headers when FDT is defined.

Sponsored by:	Innovate UK
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include opt_platform.h to get the FDT definition and only include FDT
headers when FDT is defined.

Sponsored by:	Innovate UK
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded headers from clk_link.c</title>
<updated>2022-10-28T17:31:55+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2022-10-28T16:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=83de69579188488731e521df5d5c66697a321174'/>
<id>83de69579188488731e521df5d5c66697a321174</id>
<content type='text'>
There is no OFW/FDT specific code in this file so the ofw headers can
be removed.

Sponsored by:	Innovate UK
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no OFW/FDT specific code in this file so the ofw headers can
be removed.

Sponsored by:	Innovate UK
</pre>
</div>
</content>
</entry>
</feed>
