Re: [PATCH v1 0/2] TH1520 SoC: Add Reset Controller Support
From: Michal Wilczynski
Date: Wed Mar 05 2025 - 03:24:09 EST
On 3/3/25 16:25, Michal Wilczynski wrote:
> This patch series adds reset controller support for the T-Head TH1520 SoC,
> which is used in boards like the LicheePi 4A. While part of a broader effort to
> enable the Imagination BXM-4-64 GPU upstream, these patches focus on providing
> a dedicated reset controller driver and the corresponding Device Tree
> nodes/bindings.
>
> Bigger series cover letter:
> https://lore.kernel.org/all/20250219140239.1378758-1-m.wilczynski@xxxxxxxxxxx/
This series should be versioned as v6, to maintain continuity with the
bigger patchset it is a subseries of. Please find below a changelog for
the reset sub-series:
v6:
- split the reset part into sub-series, add the Reviewed-by from
Philipp
v5:
- Moved the reset de-assertion from the reset driver to the clock driver. The
reset is now only de-asserted once the sys and core clocks have been enabled
- Added and exported the GPU_CLKGEN reset, allowing the clock driver to reset
the GPU clock circuit
v4:
- reverted reset-cells configuration to single cell as in v2
- maintained reset definitions in device tree bindings while deferring
implementation of watchdog timer (WDT) reset functionality
v3:
- refactored reset driver to use zero cells
v2:
- developed a reset controller driver for the TH1520 to manage reset
sequences
- added new dt-bindings for reset
>
> Michal Wilczynski (2):
> dt-bindings: reset: Add T-HEAD TH1520 SoC Reset Controller
> reset: thead: Add TH1520 reset controller driver
>
> .../bindings/reset/thead,th1520-reset.yaml | 44 ++++++
> MAINTAINERS | 3 +
> drivers/reset/Kconfig | 10 ++
> drivers/reset/Makefile | 1 +
> drivers/reset/reset-th1520.c | 135 ++++++++++++++++++
> .../dt-bindings/reset/thead,th1520-reset.h | 16 +++
> 6 files changed, 209 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml
> create mode 100644 drivers/reset/reset-th1520.c
> create mode 100644 include/dt-bindings/reset/thead,th1520-reset.h
>