[PATCH v2 0/4] soc: renesas: Add system controller support for RZ/G3E SoC
From: John Madieu
Date: Wed Jan 01 2025 - 11:39:32 EST
This patch series adds support for the RZ/G3E system controller and extends
the existing RZ/V2H(P) system controller to support syscon. The RZ/G3E
system controller allows detecting various SoC features like core count,
NPU availability, and CA55 PLL configuration.
Changes in v2:
- Fixed code style issues in rz-sysc.c and r9a09g047-sysc.c
- Fixed device tree documentation, getting rid of syscon compatible string
- Handled non signal-aware readable/writeable regmap callback
- Consolidated common code between RZ/V2H and RZ/G3E drivers
- Moved SoC ID detection from the compatible string fix into a new patch
Key features:
- Syscon support for both RZ/V2H and RZ/G3E system controllers
- Detection of quad/dual core configuration
- Detection of Ethos-U55 NPU presence
- Validation of CA55 PLL frequency setting
- SoC-specific extended identification through callbacks
This patch series depends upon [1], [2], and [3].
Tested:
- Example of SoC detection:
[ 0.065608] renesas-rz-sysc 10430000.system-controller: Detected Renesas
Quad Core RZ/G3E r9a09g047 Rev 0 with Ethos-U55
- Example of PLL misconfiguration warning:
[ 0.065616] renesas-rz-sysc 10430000.system-controller: CA55 PLL is not
set to 1.7GHz
[1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=914097
[2] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=912455
[3] https://lore.kernel.org/lkml/Z2HTAJmBeIUlWysh@xxxxxxxxxx/T/
John Madieu (4):
dt-bindings: soc: renesas: Add RZ/G3E variant SYS bindings
soc: renesas: rz-sysc: Fix SoC ID string extraction
soc: renesas: rz-sysc: Add support for RZ/G3E family
arm64: dts: renesas: r9a09g047: add sys node
.../soc/renesas/renesas,r9a09g057-sys.yaml | 5 +-
arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 7 ++
drivers/soc/renesas/Kconfig | 6 ++
drivers/soc/renesas/Makefile | 1 +
drivers/soc/renesas/r9a09g047-sysc.c | 73 +++++++++++++++++++
drivers/soc/renesas/rz-sysc.c | 24 +++++-
drivers/soc/renesas/rz-sysc.h | 6 ++
7 files changed, 118 insertions(+), 4 deletions(-)
create mode 100644 drivers/soc/renesas/r9a09g047-sysc.c
--
2.25.1