[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251220-02-k3-pinctrl-v1-0-f6f4aea60abf@gentoo.org>
Date: Sat, 20 Dec 2025 18:14:52 +0800
From: Yixun Lan <dlan@...too.org>
To: Linus Walleij <linusw@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Troy Mitchell <troy.mitchell@...ux.spacemit.com>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org, spacemit@...ts.linux.dev,
linux-kernel@...r.kernel.org, Yixun Lan <dlan@...too.org>
Subject: [PATCH RFC 0/3] pinctrl: spacemit: add support for K3 SoC
This series attempt to add pinctrl support for SpacemiT K3 SoC,
I'm marking this series as RFC for now, as the driver is verified on K1
SoC platform, but only tested on K3 FPGA, since K3 production SoC isn't ready.
The K3 pinctrl IP shares almost same logic with previous K1 SoC generation,
but has different register offset and pin configuration, I've introduced
a pin_to_offset() function to handle the difference of register offset.
for the drive strength and schmitter trigger settings, they are also changed.
The patch #1 try to add pin support which should handle pin mux, while patch #2
adjust drive strength and schmitter trigger settings accordingly for new SoC.
Signed-off-by: Yixun Lan <dlan@...too.org>
---
Yixun Lan (3):
dt-bindings: pinctrl: spacemit: add K3 SoC support
pinctrl: spacemit: k3: add initial pin support
pinctrl: spacemit: k3: adjust drive strength and schmitter trigger
.../bindings/pinctrl/spacemit,k1-pinctrl.yaml | 4 +-
drivers/pinctrl/spacemit/Kconfig | 4 +-
drivers/pinctrl/spacemit/pinctrl-k1.c | 517 +++++++++++++++++++--
3 files changed, 471 insertions(+), 54 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251125-02-k3-pinctrl-738cbddbe49d
Best regards,
--
Yixun Lan
Powered by blists - more mailing lists