Skip to content

reset: spacemit: add K1 reset support

Alex Elder linux-clk linux-devicetree linux-riscv lkml spacemit 13 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest6 patches 4 repliesApplied
  2. v116 patches 8 repliesSuperseded
  3. v106 patches 0 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v96 patches8 repliesSuperseded
v86 patches4 repliesSuperseded
v76 patches0 repliesSuperseded
v66 patches19 repliesSuperseded
v57 patches3 repliesSuperseded
v47 patches6 repliesSuperseded
v37 patches1 replySuperseded
v27 patches0 repliesSuperseded
v1 posting 2/27 patches26 repliesSuperseded
v1 posting 1/27 patches3 repliesSuperseded

Patches in v12 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: soc: spacemit: define spacemit,k1-ccu resetsDocumentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml include/dt-bindings/clock/spacemit,k1-syscon.h+163 -70 replies
2/6soc: spacemit: create a header for clock/reset registersdrivers/clk/spacemit/ccu-k1.c include/soc/spacemit/k1-syscon.h+119 -1100 replies
3/6clk: spacemit: set up reset auxiliary devicesdrivers/clk/spacemit/Kconfig drivers/clk/spacemit/ccu-k1.c include/soc/spacemit/k1-syscon.h+107 -100 replies
4/6clk: spacemit: define three reset-only CCUsdrivers/clk/spacemit/ccu-k1.c+24 -00 replies
5/6reset: spacemit: add support for SpacemiT CCU resetsdrivers/reset/Kconfig drivers/reset/Makefile drivers/reset/reset-spacemit.c +1 more+344 -02 replies
6/6riscv: dts: spacemit: add reset support for the K1 SoCarch/riscv/boot/dts/spacemit/k1.dtsi+18 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiYixun LanHaylen ChuPhilipp Zabel
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b
5/6R-b R-b A-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v12 thread

Cover letter [PATCH v12 0/6] reset: spacemit: add K1 reset support

This series adds reset controller support for the SpacemiT K1 SoC. A SpacemiT reset controller is implemented as an auxiliary device associated with a clock controller (CCU). A new header file holds definitions used by both the clock and reset drivers.

The only change in this version is that three of the the four resets associated with each PCIe port have been renamed, to align better with their corresponding clocks. This affects patches 1 and 5. For example, for PCIe port 0:

    RESET_PCIE0_DBI	(no change)
    RESET_PCIE0_SLV ->	RESET_PCIE0_SLAVE
    RESET_PCIE0_MSTR ->	RESET_PCIE0_MASTER
    RESET_PCIE0_GLB ->	RESET_PCIE0_GLOBAL (no corresponding clock)

No other code has changed since v11.

All of these patches are available here:
https://github.com/riscstar/linux/tree/outgoing/reset-v12

-Alex

Between version 11 and version 12:
- Renamed PCIe resets to align with their clock counterparts

Here is version 11 of this series.
https://lore.kernel.org/lkml/[email protected]/

Between version 10 and version 11:
- Rebased onto Linux v6.16-rc1
- Redefined several "multi-bit" resets as individual ones.

Here is version 10 of this series.
https://lore.kernel.org/lkml/[email protected]/

All other history is available via that link, so I won't reproduce it again here.

Alex Elder (6):
dt-bindings: soc: spacemit: define spacemit,k1-ccu resets
soc: spacemit: create a header for clock/reset registers
clk: spacemit: set up reset auxiliary devices
clk: spacemit: define three reset-only CCUs
reset: spacemit: add support for SpacemiT CCU resets
riscv: dts: spacemit: add reset support for the K1 SoC

 .../soc/spacemit/spacemit,k1-syscon.yaml      |  29 +-
 arch/riscv/boot/dts/spacemit/k1.dtsi          |  18 ++
 drivers/clk/spacemit/Kconfig                  |   1 +
 drivers/clk/spacemit/ccu-k1.c                 | 239 +++++++-------
 drivers/reset/Kconfig                         |   9 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-spacemit.c                | 304 ++++++++++++++++++
 .../dt-bindings/clock/spacemit,k1-syscon.h    | 141 ++++++++
 include/soc/spacemit/k1-syscon.h              | 160 +++++++++
 9 files changed, 775 insertions(+), 127 deletions(-)
 create mode 100644 drivers/reset/reset-spacemit.c
 create mode 100644 include/soc/spacemit/k1-syscon.h

base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494

Signature · 28 lines
2.45.2


Alex Elder (6):
  dt-bindings: soc: spacemit: define spacemit,k1-ccu resets
  soc: spacemit: create a header for clock/reset registers
  clk: spacemit: set up reset auxiliary devices
  clk: spacemit: define three reset-only CCUs
  reset: spacemit: add support for SpacemiT CCU resets
  riscv: dts: spacemit: add reset support for the K1 SoC

 .../soc/spacemit/spacemit,k1-syscon.yaml      |  29 +-
 arch/riscv/boot/dts/spacemit/k1.dtsi          |  18 ++
 drivers/clk/spacemit/Kconfig                  |   1 +
 drivers/clk/spacemit/ccu-k1.c                 | 239 +++++++-------
 drivers/reset/Kconfig                         |   9 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-spacemit.c                | 304 ++++++++++++++++++
 .../dt-bindings/clock/spacemit,k1-syscon.h    | 141 ++++++++
 include/soc/spacemit/k1-syscon.h              | 160 +++++++++
 9 files changed, 775 insertions(+), 127 deletions(-)
 create mode 100644 drivers/reset/reset-spacemit.c
 create mode 100644 include/soc/spacemit/k1-syscon.h


base-commit: 50c8770a42faf8b1c7abe93e7c114337f580a97d
-- 
2.45.2