<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/core, branch copilot/fix-aarch64-github-actions-job</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/core?h=copilot%2Ffix-aarch64-github-actions-job</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/core?h=copilot%2Ffix-aarch64-github-actions-job'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-04-07T14:30:14Z</updated>
<entry>
<title>[dm][pmdomain] fixup the child register layout</title>
<updated>2026-04-07T14:30:14Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-04-07T05:51:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0b317943264ef01f67c4990ca13b0d873a7517d3'/>
<id>urn:sha1:0b317943264ef01f67c4990ca13b0d873a7517d3</id>
<content type='text'>
Link: https://github.com/RT-Thread/rt-thread/issues/11308

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[drivers] Fix OFW bus conflict and prevent duplicate device creation</title>
<updated>2026-01-20T14:05:28Z</updated>
<author>
<name>lhxj</name>
<email>2743257167@qq.com</email>
</author>
<published>2025-12-25T09:56:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7641ef68855601bc73252546bf41a96d6078444e'/>
<id>urn:sha1:7641ef68855601bc73252546bf41a96d6078444e</id>
<content type='text'>
Problem:
When enumerating device tree nodes, platform bus and native buses (I2C/SPI)
may create duplicate devices for the same OFW node, causing cross-bus conflicts.
This triggers assertion failure '(dev-&gt;bus != new_bus)' in
rt_bus_reload_driver_device() during boot on minimal DM-enabled systems.

Root Cause:
1. Platform bus tries to reload devices that already belong to other buses
   by calling rt_bus_reload_driver_device(dev-&gt;bus, dev), which violates
   the API contract (requires dev-&gt;bus != new_bus).
2. Native buses (I2C/SPI) do not mark OFW nodes as occupied, so platform
   bus creates duplicate platform devices for I2C/SPI client nodes.

Solution:
1. components/drivers/core/platform_ofw.c: Return RT_EOK when np-&gt;dev exists,
   letting the native bus handle device lifecycle instead of cross-bus reload.
2. components/drivers/i2c/dev_i2c_bus.c: Mark i2c_client_np-&gt;dev during scan
   to prevent platform bus from duplicating I2C client devices.
3. components/drivers/spi/dev_spi_bus.c: Mark spi_dev_np-&gt;dev during scan
   to prevent platform bus from duplicating SPI devices.

Tested on Spacemit K1 RISC-V platform with minimal DM configuration.

Signed-off-by: lhxj &lt;2743257167@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][core] add common machine power interface</title>
<updated>2025-12-16T03:35:35Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-12T17:21:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=491321140966e7acf8f9dd98a4536b4cc232b9f8'/>
<id>urn:sha1:491321140966e7acf8f9dd98a4536b4cc232b9f8</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][core] Update the OFW CLk init flow</title>
<updated>2025-12-13T08:35:32Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-12T17:24:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cbf3f8c3b4fbdd3391bf3c8d1300c7854729a1ca'/>
<id>urn:sha1:cbf3f8c3b4fbdd3391bf3c8d1300c7854729a1ca</id>
<content type='text'>
The clock should init before common platform devices.

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][pinctrl] Set pinctrl default auto in platform bus. (#11052)</title>
<updated>2025-12-13T08:33:05Z</updated>
<author>
<name>GUI</name>
<email>39894654+GuEe-GUI@users.noreply.github.com</email>
</author>
<published>2025-12-13T08:33:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1b4111a99e63cc731a51da9459e24b02692aa768'/>
<id>urn:sha1:1b4111a99e63cc731a51da9459e24b02692aa768</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;</content>
</entry>
<entry>
<title>[dm][core] Set default CLK config for platform device probe</title>
<updated>2025-12-12T05:33:28Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-09T09:42:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6270b2f97ccfc572a4e2dfbc5f20b5c2bc173bbc'/>
<id>urn:sha1:6270b2f97ccfc572a4e2dfbc5f20b5c2bc173bbc</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][core] add new API for DM</title>
<updated>2025-12-09T13:04:16Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-09T09:23:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=056ae364cbea3185281c9130b9e840cef37a1418'/>
<id>urn:sha1:056ae364cbea3185281c9130b9e840cef37a1418</id>
<content type='text'>
1. rt_dm_dev_is_big_endian
2. rt_dm_dev_get_prop_fuzzy_name

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][core] fixup the `rt_dm_dev_prop_read_u8_array_index` OFW check</title>
<updated>2025-12-09T13:04:16Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-09T09:22:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c857e035440681bca0010b35418bdb3a9ca62d52'/>
<id>urn:sha1:c857e035440681bca0010b35418bdb3a9ca62d52</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>[dm][core] cleanup format</title>
<updated>2025-12-09T13:04:16Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-09T09:21:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7357abdc37a05fc8f78708ef4a60cffa322d6a0b'/>
<id>urn:sha1:7357abdc37a05fc8f78708ef4a60cffa322d6a0b</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>docs(utest):Add standardized documentation for Drivers Core Test</title>
<updated>2025-11-16T02:28:46Z</updated>
<author>
<name>Chuan</name>
<email>fjchuanil@gmail.com</email>
</author>
<published>2025-11-13T15:33:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ee20484759a916866942b592e1f37bd116563f06'/>
<id>urn:sha1:ee20484759a916866942b592e1f37bd116563f06</id>
<content type='text'>
Signed-off-by: ChuanN-sudo &lt;fjchuanil@gmail.com&gt;
</content>
</entry>
</feed>
