Skip to contentSkip to conversation

dt-bindings: soc: samsung: exynos-sysreg: add compatibles peric0/1 sysreg for Exynos990

PATCH In review Denzeel Oliva 2 participants 3 messages Feb 12, 2025 – Feb 14, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: soc: samsung: exynos-sysreg: add compatibles peric0/1 sysreg for Exynos990

Downstream from the Exynos990 kernel source it has more sysreg in flexpmu, but for now only those two will be added.

---
 .../bindings/soc/samsung/samsung,exynos-sysreg.yaml           | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +4 -0
index a75aef240..777a2c458 100644
@@ -25,6 +25,8 @@ properties:
               - samsung,exynos8895-fsys1-sysreg
               - samsung,exynos8895-peric0-sysreg
               - samsung,exynos8895-peric1-sysreg
+              - samsung,exynos990-peric0-sysreg
+              - samsung,exynos990-peric1-sysreg
               - samsung,exynosautov920-peric0-sysreg
               - samsung,exynosautov920-peric1-sysreg
               - tesla,fsd-cam-sysreg
@@ -87,6 +89,8 @@ allOf:
               - samsung,exynos8895-fsys1-sysreg
               - samsung,exynos8895-peric0-sysreg
               - samsung,exynos8895-peric1-sysreg
+              - samsung,exynos990-peric0-sysreg
+              - samsung,exynos990-peric1-sysreg
     then:
       required:
         - clocks
Signature · 1 line
2.48.1
#1 lore raw

PATCH 2/2 arm64: dts: exynos990: Add the peric0/1 sysreg node

Add sysreg nodes for the PERIC0 and PERIC1 domains. These system registers are used for peripheral configuration and control in Exynos990.

Each sysreg node includes its base address, register size, and clock dependencies.

---
 arch/arm64/boot/dts/exynos/exynos990.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/exynos/exynos990.dtsi +12 -0
index 843587b17..aa056fdae 100644
@@ -242,6 +242,12 @@ cmu_peric0: clock-controller@10400000 {
 			clock-names = "oscclk", "bus", "ip";
 		};
 
+		sysreg_peric0: syscon@10420000 {
+			compatible = "samsung,exynos990-peric0-sysreg", "syscon";
+			reg = <0x10420000 0x10000>;
+			clocks = <&cmu_peric0 CLK_GOUT_PERIC0_SYSREG_PCLK>;
+		};
+
 		pinctrl_peric1: pinctrl@10730000 {
 			compatible = "samsung,exynos990-pinctrl";
 			reg = <0x10730000 0x1000>;
@@ -259,6 +265,12 @@ cmu_peric1: clock-controller@10700000 {
 			clock-names = "oscclk", "bus", "ip";
 		};
 
+		sysreg_peric1: syscon@10720000 {
+			compatible = "samsung,exynos990-peric1-sysreg", "syscon";
+			reg = <0x10720000 0x10000>;
+			clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SYSREG_PCLK>;
+		};
+
 		cmu_hsi0: clock-controller@10a00000 {
 			compatible = "samsung,exynos990-cmu-hsi0";
 			reg = <0x10a00000 0x8000>;
Signature · 1 line
2.48.1
#2 lore raw
In reply to Denzeel Oliva
Quoted 7 lines · Denzeel Oliva

Downstream from the Exynos990 kernel source it has more sysreg in flexpmu, but for now only those two will be added.

---
 .../bindings/soc/samsung/samsung,exynos-sysreg.yaml           | 4 ++++
 1 file changed, 4 insertions(+)

Why is this a v1 while v1 was here:
https://lore.kernel.org/all/[email protected]/

and both patches differ?

Where is the changelog?

Best regards,
Krzysztof