Skip to contentSkip to conversation

Please pull U-Boot spacemit-main-20261010

GIT PULL Yixun Lan 3 participants 4 messages Oct 10

lore
Share & tools
lore

Yixun Lan

author
#0 lore raw

Hi Tom,

Please pull from u-boot-spacemit into main, thanks.

CI for this pull request is available here:
https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/-/pipelines/1535

The following changes since commit 0a55b098d6f5f6bafa84fc2f18b433dd167bf729:

Merge patch series "rng: airoha: add support for the Airoha TRNG" (2026-10-08 10:41:43 -0600)

are available in the Git repository at:

https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/ tags/spacemit-main-20261010

for you to fetch changes up to 01b0d2681dac9a153b0426290d696166ae999de7:

configs: spacemit: k3: Enable Ethernet support (2026-10-10 02:21:01 +0000)

----------------------------------------------------------------
Pull request spacemit-main-20261010.

All SoC:
- Fix mux clock

K3 SoC:
- Add pinctrl support
- Add gpio support
- Add clock and reset
- Baisc board support
- Enable ethernet

----------------------------------------------------------------
Dave Klotz (1):
clk: spacemit: program the mux when setting a mix clock's rate

Yixun Lan (15):
pinctrl: spacemit: k3: add K3 pin support
gpio: spacemit: add support for K3 SoC
clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc()
clk: spacemit: ccu_mix: add inverted enable gate clock
clk: spacemit: ccu_pll: add plla type clock
clk: spacemit: k3: extract common header
clk: spacemit: k3: add the clock tree
clk: spacemit: k3: add CPU PLL rate tables
reset: spacemit: Extract common K1 reset code
reset: spacemit: Add SpacemiT K3 reset driver
board: spacemit: add SpacemiT K3 Pico-ITX
riscv: dts: spacemit: k3: add binman node
configs: spacemit: Add K3 default configuration
doc: spacemit: k3: Add Pico-ITX board
configs: spacemit: k3: Enable Ethernet support

 arch/riscv/Kconfig                             |    5 +
 arch/riscv/cpu/k3/Kconfig                      |   18 +
 arch/riscv/cpu/k3/Makefile                     |    5 +
 arch/riscv/cpu/k3/dram.c                       |   21 +
 arch/riscv/dts/spacemit-k3-binman.dtsi         |    6 +
 arch/riscv/dts/spacemit-k3-u-boot.dtsi         |    6 +
 board/spacemit/k3/Kconfig                      |   30 +
 board/spacemit/k3/MAINTAINERS                  |    9 +
 configs/spacemit_k3_defconfig                  |   64 +
 doc/board/spacemit/index.rst                   |    1 +
 doc/board/spacemit/spacemit-pico-itx.rst       |  200 +++
 drivers/clk/spacemit/Kconfig                   |    9 +
 drivers/clk/spacemit/Makefile                  |    1 +
 drivers/clk/spacemit/clk-k3.c                  | 2049 ++++++++++++++++++++++++
 drivers/clk/spacemit/clk_common.h              |    1 +
 drivers/clk/spacemit/clk_mix.c                 |   96 +-
 drivers/clk/spacemit/clk_mix.h                 |   27 +-
 drivers/clk/spacemit/clk_pll.c                 |  124 +-
 drivers/clk/spacemit/clk_pll.h                 |   43 +-
 drivers/gpio/Kconfig                           |   11 +-
 drivers/gpio/spacemit_gpio.c                   |   97 +-
 drivers/pinctrl/spacemit/Kconfig               |    4 +-
 drivers/pinctrl/spacemit/pinctrl-k1.c          |  291 +++-
 drivers/reset/Kconfig                          |    1 +
 drivers/reset/Makefile                         |    2 +-
 drivers/reset/spacemit/Kconfig                 |   22 +
 drivers/reset/spacemit/Makefile                |    4 +-
 drivers/reset/spacemit/reset-spacemit-common.c |   93 ++
 drivers/reset/spacemit/reset-spacemit-common.h |   40 +
 drivers/reset/spacemit/reset-spacemit-k1.c     |  128 +-
 drivers/reset/spacemit/reset-spacemit-k3.c     |  242 +++
 include/configs/spacemit-k3.h                  |   13 +
 include/soc/spacemit/k3-reset.h                |   21 +
 include/soc/spacemit/k3-syscon.h               |  271 ++++
 34 files changed, 3724 insertions(+), 231 deletions(-)
 create mode 100644 arch/riscv/cpu/k3/Kconfig
 create mode 100644 arch/riscv/cpu/k3/Makefile
 create mode 100644 arch/riscv/cpu/k3/dram.c
 create mode 100644 arch/riscv/dts/spacemit-k3-binman.dtsi
 create mode 100644 arch/riscv/dts/spacemit-k3-u-boot.dtsi
 create mode 100644 board/spacemit/k3/Kconfig
 create mode 100644 board/spacemit/k3/MAINTAINERS
 create mode 100644 configs/spacemit_k3_defconfig
 create mode 100644 doc/board/spacemit/spacemit-pico-itx.rst
 create mode 100644 drivers/clk/spacemit/clk-k3.c
 create mode 100644 drivers/reset/spacemit/Kconfig
 create mode 100644 drivers/reset/spacemit/reset-spacemit-common.c
 create mode 100644 drivers/reset/spacemit/reset-spacemit-common.h
 create mode 100644 drivers/reset/spacemit/reset-spacemit-k3.c
 create mode 100644 include/configs/spacemit-k3.h
 create mode 100644 include/soc/spacemit/k3-reset.h
 create mode 100644 include/soc/spacemit/k3-syscon.h
Signature · 1 line
Yixun Lan (dlan)
#2 lore raw
Quoted 8 lines · Tom Rini
Quoted 6 lines · Yixun Lan

Please pull from u-boot-spacemit into main, thanks.

CI for this pull request is available here:
https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/-/pipelines/1535

Quoted 6 lines
Quoted 3 lines

The following changes since commit 0a55b098d6f5f6bafa84fc2f18b433dd167bf729:

[...]

Merged into u-boot/main, thanks!

FYI to any future versions of ourselves wondering why non-existent symbol CONFIG_DWC_ETH_QOS_SPACEMIT is enabled in this PR, this was applied out-of-sequence due to a delay with the networking custodian tree PR for the merge window [1].

1: https://lore.kernel.org/u-boot/20261009172150.GD769217@bill-the-cat/

-E

author
#3 lore raw

Hi E Shattow,

Quoted 13 lines · E Shattow
Quoted 12 lines · Tom Rini
Quoted 9 lines · Yixun Lan

Please pull from u-boot-spacemit into main, thanks.

CI for this pull request is available here:
https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/-/pipelines/1535

The following changes since commit 0a55b098d6f5f6bafa84fc2f18b433dd167bf729:

[...]

Quoted 8 lines
Quoted 2 lines

Merged into u-boot/main, thanks!

FYI to any future versions of ourselves wondering why non-existent symbol CONFIG_DWC_ETH_QOS_SPACEMIT is enabled in this PR, this was applied out-of-sequence due to a delay with the networking custodian tree PR for the merge window [1].

Right, I thought about this before sending this PR, but didn't consider it's a problem.. for building and testing, there is no error with this single PR, yes, will result with no network. Besides, I also trust net maintainer whom will send the PR eventually..

Quoted 3 lines

1: https://lore.kernel.org/u-boot/20261009172150.GD769217@bill-the-cat/

-E

Signature · 1 line
Yixun Lan (dlan)