Skip to content

reset: cix: add support for cix sky1 resets

Xueyuan Chen linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 3 repliesIn review

Changes in v4 from the cover letter

- Restored the 'syscon' architecture to properly describe the SRC as a unified memory region, addressing DT review feedback from Conor Dooley on v3.
- Replaced the fragmented 'reg' items in the YAML bindings and DTS with unified contiguous memory regions (e.g., 0x16000000 and 0x04160000).
- Refactored the driver to drop independent ioremap logic. It now cleanly fetches the regmap via syscon_node_to_regmap to prevent resource conflicts.
- Xueyuan Chen took over the patchset for architectural refactoring.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: reset: add sky1 reset controllerDocumentation/devicetree/bindings/reset/cix,sky1-rst.yaml include/dt-bindings/reset/cix,sky1-rst-fch.h include/dt-bindings/reset/cix,sky1-rst.h+257 -02 replies
2/3reset: cix: add support for cix sky1 resetsdrivers/reset/Kconfig drivers/reset/Makefile drivers/reset/reset-sky1.c+380 -00 replies
3/3arm64: dts: cix: add src syscon nodes for sky1 resetsarch/arm64/boot/dts/cix/sky1.dtsi+12 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] reset: cix: add support for cix sky1 resets

This patch series adds support for the System Reset Controller (SRC) found on the CIX Sky1 SoC. The SRC provides reset capabilities to various peripherals across the S0 and S5 domains.

Changes in v4:
- Restored the 'syscon' architecture to properly describe the SRC as a unified memory region, addressing DT review feedback from Conor Dooley on v3.
- Replaced the fragmented 'reg' items in the YAML bindings and DTS with unified contiguous memory regions (e.g., 0x16000000 and 0x04160000).
- Refactored the driver to drop independent ioremap logic. It now cleanly fetches the regmap via syscon_node_to_regmap to prevent resource conflicts.
- Xueyuan Chen took over the patchset for architectural refactoring.

Changes in v3:
- Passed dts build checks (dt_binding_check, CHECK_DTBS).
- Removed initial syscon attempt (reverted in v4 for the correct architecture).

Gary Yang (1):
dt-bindings: reset: add sky1 reset controller

Xueyuan Chen (2):
reset: cix: add support for cix sky1 resets
arm64: dts: cix: add src syscon nodes for sky1 resets

 .../bindings/reset/cix,sky1-rst.yaml          |  51 +++
 arch/arm64/boot/dts/cix/sky1.dtsi             |  12 +
 drivers/reset/Kconfig                         |   7 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-sky1.c                    | 372 ++++++++++++++++++
 include/dt-bindings/reset/cix,sky1-rst-fch.h  |  42 ++
 include/dt-bindings/reset/cix,sky1-rst.h      | 164 ++++++++
 7 files changed, 649 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/cix,sky1-rst.yaml
 create mode 100644 drivers/reset/reset-sky1.c
 create mode 100644 include/dt-bindings/reset/cix,sky1-rst-fch.h
 create mode 100644 include/dt-bindings/reset/cix,sky1-rst.h
Signature · 1 line
2.43.0