<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot/u-boot.git, branch DBG/clk-support-arbitrary-clk_register-sequence</title>
<subtitle>Das U-Boot Source Tree</subtitle>
<id>https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/atom?h=DBG%2Fclk-support-arbitrary-clk_register-sequence</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/atom?h=DBG%2Fclk-support-arbitrary-clk_register-sequence'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/'/>
<updated>2026-02-02T19:40:50+00:00</updated>
<entry>
<title>Merge patch series "clk: support arbitrary clk_register() sequence"</title>
<updated>2026-02-02T19:40:50+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-02-02T19:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=fd070b0e71862c0e7f0fa42b7f19e49dfa7037e7'/>
<id>urn:sha1:fd070b0e71862c0e7f0fa42b7f19e49dfa7037e7</id>
<content type='text'>
Yang Xiwen &lt;forbidden405@outlook.com&gt; says:

Currently, the U-Boot clk framework mandates that clock registration
begins at the root and proceeds to children. This creates an additional
requirement that does not exist in the Linux kernel, making the porting
of clk drivers more difficult.

This series handles the dependency entirely within the clk framework,
allowing drivers the freedom to register clocks in any order.

This is achieved by assigning the parent "lazily". The framework caches
the parent name in the core clk struct and attempts to resolve the
actual parent when clk consumers call clk_get_parent(). The process is
transparent to clk consumers as long as they use standard clk framework
APIs.

I've run `ut dm clk*` and verified these commits do not break any
existing test cases. It also passes the new test case.

This feature is disabled for xPLs by default. I have not found a clean
way to enable this separately for xPLs without introducing a repetitive
Kconfig entry (e.g., xPL_CLK_LAZY_REPARENT), which looks very ugly.

Link: https://lore.kernel.org/r/20260120-clk-reparent-v3-0-0d43d4b362ac@outlook.com
</content>
</entry>
<entry>
<title>test: clk: add test for CLK_LAZY_REPARENT</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=90cd316b5a0fce702525ff7980d30e2bd233078d'/>
<id>urn:sha1:90cd316b5a0fce702525ff7980d30e2bd233078d</id>
<content type='text'>
Add a test for the newly introduced CLK_LAZY_REPARENT feature.

Modify clk_sandbox_ccf driver to register two clocks(i2s and i2s_root)
in reversed order.

The test function then try to acquire the clocks and asserts that their
internal states are maintained correctly.

Ensure clk-&gt;parent_name is NULL in all "normal" cases so existing
drivers are not broken by this feature.

Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>clk: allow assigning parent lazily</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=8f230323e42fa7dd69bcfda1e7810b3327f4b4f6'/>
<id>urn:sha1:8f230323e42fa7dd69bcfda1e7810b3327f4b4f6</id>
<content type='text'>
Don't mandate the parent device exists when registering a clock.

Instead, cache the parent name in the core clk struct and resolve the
parent in clk_get_parent(), which is called lazily upon real use.

Disable this feature for xPLs by default to save size.

Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>clk: use clk_get_parent() helper in clk_en(dis)able()</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=5fc1388141de3660c271cf99e5fc4036fb03ae84'/>
<id>urn:sha1:5fc1388141de3660c271cf99e5fc4036fb03ae84</id>
<content type='text'>
Update clk_enable() and clk_disable() to use clk_get_parent() instead of
manually accessing clk-&gt;dev-&gt;parent.

Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>clk: add uclass id check to clk_get_parent()</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=d18343651c1d49c4ffcb17356de29eac98dffb40'/>
<id>urn:sha1:d18343651c1d49c4ffcb17356de29eac98dffb40</id>
<content type='text'>
Check the uclass id in clk_get_parent() before casting dev-&gt;priv to
struct clk *.  This sanity check can be also found in some other places
and should be enforced.

Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>test: dm: core: add some assertions for device_reparent()</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=74720cb082d48e56e5c59e078348dd61deae2b72'/>
<id>urn:sha1:74720cb082d48e56e5c59e078348dd61deae2b72</id>
<content type='text'>
The original tests only assert the return value of device_reparent(),
but does not check the actual relation between the new parent and the
child. Add some assertions to check this behavior.

It also lacks the logic to test orphan/root devices. Add tests for that.

Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>drivers: core: device: set new parent when old parent is NULL</title>
<updated>2026-02-02T19:40:41+00:00</updated>
<author>
<name>Yang Xiwen</name>
<email>forbidden405@outlook.com</email>
</author>
<published>2026-01-19T19:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=d7aea17d2e606249c2a3e8495f70bb4e47e11ed8'/>
<id>urn:sha1:d7aea17d2e606249c2a3e8495f70bb4e47e11ed8</id>
<content type='text'>
The current logic does not update the new parent in device_reparent() if
old parent is NULL. The behavior is not desired. Fix it by setting the
parent in this case.

Fixes: cfecbaf4e768 ("dm: core: add support for device re-parenting")
Signed-off-by: Yang Xiwen &lt;forbidden405@outlook.com&gt;
</content>
</entry>
<entry>
<title>Merge patch series "arm: mach-k3: j721s2: Provide a way to obtain boot device for non SPLs"</title>
<updated>2026-02-02T19:39:52+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-02-02T19:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=4b287e0a3ae4ab3159584cb5ae12c9b470716be8'/>
<id>urn:sha1:4b287e0a3ae4ab3159584cb5ae12c9b470716be8</id>
<content type='text'>
This series from Dominik Haller &lt;d.haller@phytec.de&gt; provides a way for
TI K3 platforms to determine their boot device outside of SPL and then
adds support for the PHYTEC phyCORE-AM68x/TDA4x SoM.

Link: https://lore.kernel.org/r/20260116014116.767555-1-d.haller@phytec.de
</content>
</entry>
<entry>
<title>doc: board: phytec: Add phyCORE-AM68x/TDA4x</title>
<updated>2026-02-02T19:39:42+00:00</updated>
<author>
<name>Dominik Haller</name>
<email>d.haller@phytec.de</email>
</author>
<published>2026-01-16T01:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=2a6935eee25e09584dbbe4565b00e33de9ef325d'/>
<id>urn:sha1:2a6935eee25e09584dbbe4565b00e33de9ef325d</id>
<content type='text'>
Add documentation for the PHYTEC phyCORE-AM68x/TDA4x (J721S2 family) SoM.

Signed-off-by: Dominik Haller &lt;d.haller@phytec.de&gt;
Reviewed-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</content>
</entry>
<entry>
<title>board: phytec: Add PHYTEC phyCORE-AM68x/TDA4x SoM</title>
<updated>2026-02-02T19:39:42+00:00</updated>
<author>
<name>Dominik Haller</name>
<email>d.haller@phytec.de</email>
</author>
<published>2026-01-16T01:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=e9fa9a2fe325e7030f01f3bd62bf4d571ec6a6c1'/>
<id>urn:sha1:e9fa9a2fe325e7030f01f3bd62bf4d571ec6a6c1</id>
<content type='text'>
Add support for the PHYTEC phyCORE-AM68x/TDA4x (J721S2 family) SoM.

Supported features:
- 4GB LPDDR4 RAM
- eMMC
- SD-Card
- Ethernet
- OSPI
- AVS
- debug UART

Signed-off-by: Dominik Haller &lt;d.haller@phytec.de&gt;
Reviewed-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
</content>
</entry>
</feed>
