U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon@gmail.com>
To: u-boot@lists.u-boot-project.org
Cc: Anand Moon <linux.amoon@gmail.com>,
	Dave Klotz <DaveWK225@protonmail.com>,
	Eric Chung <eric.chung@riscstar.com>,
	Hung-Chun Tseng <alan.tseng.cs@gmail.com>,
	E Shattow <e@freeshell.de>, Yixun Lan <dlan@kernel.org>,
	Tom Rini <trini@konsulko.com>, Guodong Xu <guodong@riscstar.com>,
	Raymond Mao <raymond.mao@riscstar.com>,
	u-boot-spacemit@groups.io
Subject: [PATCH v2 6/6] riscv: spacemit: k1: Enable GPIO and pinctrl support in SPL
Date: Mon, 23 Nov 2026 19:37:04 +0000	[thread overview]
Message-ID: <20261123193714.5096-7-linux.amoon@gmail.com> (raw)
In-Reply-To: <20261123193714.5096-1-linux.amoon@gmail.com>

Enable GPIO and pinctrl support in SPL for the SpacemiT K1 SoC.

Select the SPL driver model GPIO framework and the SpacemiT GPIO
driver, along with the pinctrl framework and K1 pinctrl driver.

These drivers allow SPL to configure pin multiplexing and access
GPIOs required by early boot peripherals, including I2C, MMC and
other board-specific devices.

Cc: Dave Klotz <DaveWK225@protonmail.com>
Cc: Eric Chung <eric.chung@riscstar.com>
Cc: Hung-Chun Tseng <alan.tseng.cs@gmail.com>
Cc: E Shattow <e@freeshell.de>
Cc: Yixun Lan <dlan@kernel.org>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 configs/spacemit_k1_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configs/spacemit_k1_defconfig b/configs/spacemit_k1_defconfig
index 0f6e9284259..6c60ca789a9 100644
--- a/configs/spacemit_k1_defconfig
+++ b/configs/spacemit_k1_defconfig
@@ -121,3 +121,8 @@ CONFIG_USB_DWC3_GENERIC=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_ONBOARD_HUB=y
 CONFIG_SPL_LIB_RATIONAL=y
+CONFIG_SPL_GPIO=y
+CONFIG_SPL_DM_GPIO=y
+CONFIG_SPL_PINCTRL=y
+CONFIG_SPL_SPACEMIT_GPIO=y
+CONFIG_SPL_PINCTRL_SPACEMIT_K1=y
-- 
2.56.1


  parent reply	other threads:[~2026-11-23 19:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 19:36 [PATCH v2 0/6] riscv: spacemit: Add GPIO and pinctrl support in SPL Anand Moon
2026-11-23 19:36 ` [PATCH v2 1/6] riscv: dts: spacemit: k1: Move common U-Boot nodes to shared DTSI Anand Moon
2026-11-23 19:37 ` [PATCH v2 2/6] riscv: dts: spacemit: k1-musepi-pro: Drop redundant DT overrides Anand Moon
2026-11-23 19:37 ` [PATCH v2 3/6] riscv: dts: spacemit: k1: Move common U-Boot properties to shared DTSI Anand Moon
2026-11-23 19:37 ` [PATCH v2 4/6] pinctrl: spacemit: Add SPL support for K1/K3 pinctrl driver Anand Moon
2026-11-24 10:52   ` Yixun Lan
2026-11-25  3:07     ` Anand Moon
2026-11-23 19:37 ` [PATCH v2 5/6] gpio: spacemit: Add SPL support for K1/K3 GPIO driver Anand Moon
2026-11-24 10:53   ` Yixun Lan
2026-11-23 19:37 ` Anand Moon [this message]
2026-11-24  6:33   ` [PATCH v2 6/6] riscv: spacemit: k1: Enable GPIO and pinctrl support in SPL Junhui Liu
2026-11-24  7:02     ` Anand Moon
2026-11-25 15:35 ` [PATCH v2 0/6] riscv: spacemit: Add " Anand Moon
2026-11-25 16:23   ` E Shattow
2026-11-26  6:04     ` Anand Moon

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=20261123193714.5096-7-linux.amoon@gmail.com \
    --to=linux.amoon@gmail.com \
    --cc=DaveWK225@protonmail.com \
    --cc=alan.tseng.cs@gmail.com \
    --cc=dlan@kernel.org \
    --cc=e@freeshell.de \
    --cc=eric.chung@riscstar.com \
    --cc=guodong@riscstar.com \
    --cc=raymond.mao@riscstar.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-spacemit@groups.io \
    --cc=u-boot@lists.u-boot-project.org \
    /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