* [PATCH 0/4] amr64: dts: exynos: add dedicated SYSREG compatibles to Exynos850 and Exynosautov9
[not found] <CGME20221207085843epcas5p45d904815c5fd6d632937543ea3d90c50@epcas5p4.samsung.com>
@ 2022-12-07 8:58 ` Sriranjani P
[not found] ` <CGME20221207085846epcas5p1d1e7fb6945752fc1d9d4aba4874b2484@epcas5p1.samsung.com>
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Sriranjani P @ 2022-12-07 8:58 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, devicetree, alim.akhtar,
pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, Sriranjani P
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850
[not found] ` <CGME20221207085846epcas5p1d1e7fb6945752fc1d9d4aba4874b2484@epcas5p1.samsung.com>
@ 2022-12-07 8:58 ` Sriranjani P
2022-12-07 10:12 ` Krzysztof Kozlowski
0 siblings, 1 reply; 7+ messages in thread
From: Sriranjani P @ 2022-12-07 8:58 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, devicetree, alim.akhtar,
pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, Sriranjani P
Exynos850 has two different SYSREGs, hence add dedicated compatibles for
them and deprecate usage of generic Exynos850 compatible alone.
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
.../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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos850
[not found] ` <CGME20221207085849epcas5p36cc450174093b369c29433251a559e0b@epcas5p3.samsung.com>
@ 2022-12-07 8:58 ` Sriranjani P
0 siblings, 0 replies; 7+ messages in thread
From: Sriranjani P @ 2022-12-07 8:58 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, devicetree, alim.akhtar,
pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, Sriranjani P
Exynos850 has two different SYSREGs, so use dedicated compatibles for them.
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
arch/arm64/boot/dts/exynos/exynos850.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi
index c61441f3a89a..a38fe5129937 100644
--- a/arch/arm64/boot/dts/exynos/exynos850.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi
@@ -549,13 +549,15 @@
};
sysreg_peri: syscon@10020000 {
- compatible = "samsung,exynos850-sysreg", "syscon";
+ compatible = "samsung,exynos850-peri-sysreg",
+ "samsung,exynos850-sysreg", "syscon";
reg = <0x10020000 0x10000>;
clocks = <&cmu_peri CLK_GOUT_SYSREG_PERI_PCLK>;
};
sysreg_cmgp: syscon@11c20000 {
- compatible = "samsung,exynos850-sysreg", "syscon";
+ compatible = "samsung,exynos850-cmgp-sysreg",
+ "samsung,exynos850-sysreg", "syscon";
reg = <0x11c20000 0x10000>;
clocks = <&cmu_cmgp CLK_GOUT_SYSREG_CMGP_PCLK>;
};
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9
[not found] ` <CGME20221207085852epcas5p3de090e5b0abec213c1b5511e1da3eeff@epcas5p3.samsung.com>
@ 2022-12-07 8:58 ` Sriranjani P
2022-12-07 10:13 ` Krzysztof Kozlowski
0 siblings, 1 reply; 7+ messages in thread
From: Sriranjani P @ 2022-12-07 8:58 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, devicetree, alim.akhtar,
pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, Sriranjani P
Exynosautov9 has several different SYSREGs, so use dedicated compatibles
for them and deprecate usage of generic Exynosautov9 compatible alone.
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
.../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
index f57bc7c194a1..b6105d261b47 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,exynosautov9-sysreg
- tesla,fsd-cam-sysreg
- tesla,fsd-fsys0-sysreg
- tesla,fsd-fsys1-sysreg
@@ -45,6 +44,17 @@ properties:
- const: samsung,exynos850-sysreg
- const: syscon
deprecated: true
+ - items:
+ - enum:
+ - samsung,exynosautov9-fsys2-sysreg
+ - samsung,exynosautov9-peric0-sysreg
+ - samsung,exynosautov9-peric1-sysreg
+ - const: samsung,exynosautov9-sysreg
+ - const: syscon
+ - items:
+ - const: samsung,exynosautov9-sysreg
+ - const: syscon
+ deprecated: true
reg:
maxItems: 1
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/4] arm64: dts: exynos: add dedicated SYSREG compatibles to Exynosautov9
[not found] ` <CGME20221207085855epcas5p17245364dc058b29f7edcabdfc5dfb456@epcas5p1.samsung.com>
@ 2022-12-07 8:58 ` Sriranjani P
0 siblings, 0 replies; 7+ messages in thread
From: Sriranjani P @ 2022-12-07 8:58 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, devicetree, alim.akhtar,
pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc, Sriranjani P
Exynosautov9 has several different SYSREGs, so use dedicated compatibles
for them.
Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850
2022-12-07 8:58 ` [PATCH 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850 Sriranjani P
@ 2022-12-07 10:12 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-07 10:12 UTC (permalink / raw)
To: Sriranjani P, robh+dt, krzysztof.kozlowski+dt, devicetree,
alim.akhtar, pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc
On 07/12/2022 09:58, Sriranjani P wrote:
> Exynos850 has two different SYSREGs, hence add dedicated compatibles for
> them and deprecate usage of generic Exynos850 compatible alone.
>
> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
> ---
> .../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
and this can go to existing 5433 deprecated entry (making it enum of
deprecated compatibles).
> + - 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
This should stay in the enum.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9
2022-12-07 8:58 ` [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9 Sriranjani P
@ 2022-12-07 10:13 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-07 10:13 UTC (permalink / raw)
To: Sriranjani P, robh+dt, krzysztof.kozlowski+dt, devicetree,
alim.akhtar, pankaj.dubey, ravi.patel
Cc: linux-kernel, linux-arm-kernel, linux-samsung-soc
On 07/12/2022 09:58, Sriranjani P wrote:
> Exynosautov9 has several different SYSREGs, so use dedicated compatibles
> for them and deprecate usage of generic Exynosautov9 compatible alone.
>
> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com>
> ---
> .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
> index f57bc7c194a1..b6105d261b47 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,exynosautov9-sysreg
> - tesla,fsd-cam-sysreg
> - tesla,fsd-fsys0-sysreg
> - tesla,fsd-fsys1-sysreg
> @@ -45,6 +44,17 @@ properties:
> - const: samsung,exynos850-sysreg
> - const: syscon
> deprecated: true
> + - items:
> + - enum:
> + - samsung,exynosautov9-fsys2-sysreg
> + - samsung,exynosautov9-peric0-sysreg
> + - samsung,exynosautov9-peric1-sysreg
> + - const: samsung,exynosautov9-sysreg
> + - const: syscon
> + - items:
> + - const: samsung,exynosautov9-sysreg
> + - const: syscon
Same comment here - let's make it part of enums which are deprecated (so
together with 5433 and 850)
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-07 10:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20221207085843epcas5p45d904815c5fd6d632937543ea3d90c50@epcas5p4.samsung.com>
2022-12-07 8:58 ` [PATCH 0/4] amr64: dts: exynos: add dedicated SYSREG compatibles to Exynos850 and Exynosautov9 Sriranjani P
[not found] ` <CGME20221207085846epcas5p1d1e7fb6945752fc1d9d4aba4874b2484@epcas5p1.samsung.com>
2022-12-07 8:58 ` [PATCH 1/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850 Sriranjani P
2022-12-07 10:12 ` Krzysztof Kozlowski
[not found] ` <CGME20221207085849epcas5p36cc450174093b369c29433251a559e0b@epcas5p3.samsung.com>
2022-12-07 8:58 ` [PATCH 2/4] arm64: dts: exynos: " Sriranjani P
[not found] ` <CGME20221207085852epcas5p3de090e5b0abec213c1b5511e1da3eeff@epcas5p3.samsung.com>
2022-12-07 8:58 ` [PATCH 3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9 Sriranjani P
2022-12-07 10:13 ` Krzysztof Kozlowski
[not found] ` <CGME20221207085855epcas5p17245364dc058b29f7edcabdfc5dfb456@epcas5p1.samsung.com>
2022-12-07 8:58 ` [PATCH 4/4] arm64: dts: exynos: " Sriranjani P
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).