U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Huan Zhou <me@per1cycle.org>
To: u-boot <u-boot@lists.denx.de>
Cc: Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
	 Tom Rini <trini@konsulko.com>, Yixun Lan <dlan@gentoo.org>,
	 Huan Zhou <me@per1cycle.org>
Subject: [PATCH v2 4/4] Add reset config options for k1
Date: Tue, 11 Mar 2025 09:38:51 +0800	[thread overview]
Message-ID: <20250311-reset-k1-v2-4-8a838752c265@per1cycle.org> (raw)
In-Reply-To: <20250311-reset-k1-v2-0-8a838752c265@per1cycle.org>

Add RESET_SPACEMIT_K1 option in config

Signed-off-by: Huan Zhou <me@per1cycle.org>
---
 arch/riscv/cpu/k1/Kconfig     | 1 +
 configs/bananapi-f3_defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/riscv/cpu/k1/Kconfig b/arch/riscv/cpu/k1/Kconfig
index d9cd8dce96426bb4cbe9ff38385a4c66116fe341..14201df80f2c0bf304225ef6d8dc8e72ff508815 100644
--- a/arch/riscv/cpu/k1/Kconfig
+++ b/arch/riscv/cpu/k1/Kconfig
@@ -13,6 +13,7 @@ config SPACEMIT_K1
 	imply RISCV_ACLINT if RISCV_MMODE
 	imply SPL_RISCV_ACLINT if SPL_RISCV_MMODE
 	imply CMD_CPU
+	imply DM_RESET
 	imply SPL_CPU
 	imply SPL_OPENSBI
 	imply SPL_LOAD_FIT
diff --git a/configs/bananapi-f3_defconfig b/configs/bananapi-f3_defconfig
index 0f12db3db848badda1fc7192aeb0190ac22a269d..7483f128baea9d8971efc9ed166aa042ec32d908 100644
--- a/configs/bananapi-f3_defconfig
+++ b/configs/bananapi-f3_defconfig
@@ -18,3 +18,4 @@ CONFIG_HUSH_PARSER=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SYS_NS16550_MEM32=y
+CONFIG_RESET_SPACEMIT_K1=y

-- 
2.39.5


  parent reply	other threads:[~2025-03-11  1:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11  1:38 [PATCH v2 0/4] Add k1 reset driver for bananapi-bpif3 platform Huan Zhou
2025-03-11  1:38 ` [PATCH v2 1/4] riscv: dt-binding: k1: Add reset driver binding definition Huan Zhou
2025-03-25  4:05   ` Leo Liang
2025-03-11  1:38 ` [PATCH v2 2/4] riscv: reset: k1: Add reset driver Huan Zhou
2025-03-25  4:06   ` Leo Liang
2025-03-11  1:38 ` [PATCH v2 3/4] riscv: dts: k1: add reset controller node in device tree Huan Zhou
2025-03-25  4:07   ` Leo Liang
2025-03-11  1:38 ` Huan Zhou [this message]
2025-03-25  4:08   ` [PATCH v2 4/4] Add reset config options for k1 Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250311-reset-k1-v2-4-8a838752c265@per1cycle.org \
    --to=me@per1cycle.org \
    --cc=dlan@gentoo.org \
    --cc=rick@andestech.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox