<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/reset/spacemit/Makefile, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/reset/spacemit/Makefile?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/reset/spacemit/Makefile?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-07-21T08:31:10Z</updated>
<entry>
<title>reset: spacemit: k1: introduce syscon-bound reset driver</title>
<updated>2026-07-21T08:31:10Z</updated>
<author>
<name>Guodong Xu</name>
<email>guodong@riscstar.com</email>
</author>
<published>2026-05-27T02:45:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=daa9b916a603e72b377b66dba435b8a01dec0f83'/>
<id>urn:sha1:daa9b916a603e72b377b66dba435b8a01dec0f83</id>
<content type='text'>
The existing K1 reset driver (drivers/reset/reset-spacemit-k1.c) binds
via DT of_match against a top-level reset-controller node, but kernel
mainline DT for K1 has no such node: the mpmu, apbc, apmu and apbc2
syscons each spawn their own reset device as an auxiliary of the
clock controller. The legacy driver therefore cannot consume it.

Add a new reset driver at drivers/reset/spacemit/reset-spacemit-k1.c
bound by name from each per-syscon clock driver via
device_bind_driver_to_node(), without DT of_match, mirroring the
kernel's auxiliary-device pattern.

To keep the series bisectable, this driver coexists link-cleanly with
the legacy spacemit,k1-reset driver during the transition. A
follow-up patch that switches the K1 build to
dts/upstream/src/riscv/spacemit/ will drop the legacy driver.

Signed-off-by: Guodong Xu &lt;guodong@riscstar.com&gt;
</content>
</entry>
</feed>
