<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/clk/sophgo, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/sophgo?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/sophgo?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-06-09T20:48:33Z</updated>
<entry>
<title>clk: sophgo: Use dev_read_addr_ptr()</title>
<updated>2026-06-09T20:48:33Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2026-05-25T03:10:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=55550b429291b7c46a65a1864c49f25c2ed1a6a3'/>
<id>urn:sha1:55550b429291b7c46a65a1864c49f25c2ed1a6a3</id>
<content type='text'>
Replace devfdt_get_addr_ptr() with dev_read_addr_ptr() when retrieving the
register base address.

dev_read_addr_ptr() supports both live device tree and flat DT backends,
avoiding direct dependency on devfdt_* helpers.

No functional changes.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>clk: sophgo: Fix a warning about void returns value</title>
<updated>2025-10-16T08:44:49Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-10-01T20:30:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ab7710a06401f8cac1d49bac5e66d25f3e6e4e1'/>
<id>urn:sha1:0ab7710a06401f8cac1d49bac5e66d25f3e6e4e1</id>
<content type='text'>
The cv1800b_clk_setfield function returns void, but was doing "return
writel(...);" and while seemingly having a void function return a void
function is not a warning, when readl is a macro this problem is shown.
Correct the code to instead simply call writel.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Yao Zi &lt;ziyao@disroot.org&gt;
</content>
</entry>
<entry>
<title>clk: sophgo: Fix return values of register updating helpers</title>
<updated>2025-03-25T04:13:42Z</updated>
<author>
<name>Yao Zi</name>
<email>ziyao@disroot.org</email>
</author>
<published>2025-03-07T17:11:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02933626c7351db6f38cd72d85b47188655fbc85'/>
<id>urn:sha1:02933626c7351db6f38cd72d85b47188655fbc85</id>
<content type='text'>
These helpers wrongly return the updated register value. As a non-zero
value indicates failure, this causes various clock operations are
considered failed.

Correct the return value to constant zero, since these simple MMIO
operations won't fail. This fixes clock enabling failures during booting
process,

	In:    serial@4140000
	Out:   serial@4140000
	Err:   serial@4140000
	Net:   Enable clock-controller@3002000 failed
	failed to enable clock 0
	No ethernet found.

which leads to misoperation of various peripherals.

Fixes: 5f364e072e7 ("clk: sophgo: cv1800b: Add clock controller driver for cv1800b SoC")
Tested-by: Yuguo Pei &lt;purofle@gmail.com&gt;
Signed-off-by: Yao Zi &lt;ziyao@disroot.org&gt;
</content>
</entry>
<entry>
<title>clk: sophgo: cv1800b: Add clock controller driver for cv1800b SoC</title>
<updated>2024-09-11T12:32:06Z</updated>
<author>
<name>Kongyang Liu</name>
<email>seashell11234455@gmail.com</email>
</author>
<published>2024-06-11T09:41:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5f364e072e76550b3c6d1b1f7711352ec7b14d7b'/>
<id>urn:sha1:5f364e072e76550b3c6d1b1f7711352ec7b14d7b</id>
<content type='text'>
Add clock controller driver for sophgo cv1800b SoC

Signed-off-by: Kongyang Liu &lt;seashell11234455@gmail.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
</content>
</entry>
</feed>
