2022-12-07 10:37:38

by Sriranjani P

[permalink] [raw]
Subject: [PATCH 0/4] amr64: dts: exynos: add dedicated SYSREG compatibles to Exynos850 and Exynosautov9

Exynos850 and Exynosautov9 has several different SYSREGs, so use dedicated
compatibles for them in dtsi file and add respective compatible in the
samsung exynos devicetree binding document.

Sriranjani P (4):
dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG
compatibles to Exynos850
arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos850
dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG
compatibles to Exynosautov9
arm64: dts: exynos: add dedicated SYSREG compatibles to Exynosautov9

.../soc/samsung/samsung,exynos-sysreg.yaml | 26 ++++++++++++++++++-
arch/arm64/boot/dts/exynos/exynos850.dtsi | 6 +++--
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 9 ++++---
3 files changed, 35 insertions(+), 6 deletions(-)

--
2.17.1


2022-12-07 10:38:03

by Sriranjani P

[permalink] [raw]
Subject: [PATCH 4/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynosautov9

Exynosautov9 has several different SYSREGs, so use dedicated compatibles
for them.

Signed-off-by: Sriranjani P <[email protected]>
---
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index 5dc361734cfe..d3c5cdeff47f 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -370,17 +370,20 @@
};

syscon_fsys2: syscon@17c20000 {
- compatible = "samsung,exynosautov9-sysreg", "syscon";
+ compatible = "samsung,exynosautov9-fsys2-sysreg",
+ "samsung,exynosautov9-sysreg", "syscon";
reg = <0x17c20000 0x1000>;
};

syscon_peric0: syscon@10220000 {
- compatible = "samsung,exynosautov9-sysreg", "syscon";
+ compatible = "samsung,exynosautov9-peric0-sysreg",
+ "samsung,exynosautov9-sysreg", "syscon";
reg = <0x10220000 0x2000>;
};

syscon_peric1: syscon@10820000 {
- compatible = "samsung,exynosautov9-sysreg", "syscon";
+ compatible = "samsung,exynosautov9-peric1-sysreg",
+ "samsung,exynosautov9-sysreg", "syscon";
reg = <0x10820000 0x2000>;
};

--
2.17.1

2022-12-07 10:39:07

by Sriranjani P

[permalink] [raw]
Subject: [PATCH 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850

Exynos850 has two different SYSREGs, hence add dedicated compatibles for
them and deprecate usage of generic Exynos850 compatible alone.

Signed-off-by: Sriranjani P <[email protected]>
---
.../soc/samsung/samsung,exynos-sysreg.yaml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
index 4954790eda6c..f57bc7c194a1 100644
--- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
+++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
@@ -17,7 +17,6 @@ properties:
- samsung,exynos3-sysreg
- samsung,exynos4-sysreg
- samsung,exynos5-sysreg
- - samsung,exynos850-sysreg
- samsung,exynosautov9-sysreg
- tesla,fsd-cam-sysreg
- tesla,fsd-fsys0-sysreg
@@ -36,6 +35,16 @@ properties:
- const: samsung,exynos5433-sysreg
- const: syscon
deprecated: true
+ - items:
+ - enum:
+ - samsung,exynos850-cmgp-sysreg
+ - samsung,exynos850-peri-sysreg
+ - const: samsung,exynos850-sysreg
+ - const: syscon
+ - items:
+ - const: samsung,exynos850-sysreg
+ - const: syscon
+ deprecated: true

reg:
maxItems: 1
@@ -53,7 +62,9 @@ allOf:
compatible:
contains:
enum:
- - samsung,exynos850-sysreg
+ - samsung,exynos850-cmgp-sysreg
+ - samsung,exynos850-peri-sysreg
+ const: samsung,exynos850-sysreg
then:
required:
- clocks
--
2.17.1