diff mbox series

[v3,3/4] dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9

Message ID 20221214044342.49766-4-sriranjani.p@samsung.com
State New
Headers show
Series amr64: dts: exynos: add dedicated SYSREG compatibles to Exynos850 and Exynosautov9 | expand

Commit Message

Sriranjani P Dec. 14, 2022, 4:43 a.m. UTC
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      | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Chanho Park Dec. 20, 2022, 12:32 p.m. UTC | #1
On Wed, Dec 14, 2022 at 1:49 PM Sriranjani P <sriranjani.p@samsung.com> 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>

Reviewed-by: Chanho Park <chanho61.park@samsung.com>

> ---
>  .../bindings/soc/samsung/samsung,exynos-sysreg.yaml      | 9 ++++++++-
>  1 file changed, 8 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 427df05224e5..da43efb0ce80 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
> @@ -35,6 +34,7 @@ properties:
>            - enum:
>                - samsung,exynos5433-sysreg
>                - samsung,exynos850-sysreg
> +              - samsung,exynosautov9-sysreg
>            - const: syscon
>              deprecated: true
>        - items:
> @@ -43,6 +43,13 @@ properties:
>                - samsung,exynos850-peri-sysreg
>            - const: samsung,exynos850-sysreg
>            - const: syscon
> +      - items:
> +          - enum:
> +              - samsung,exynosautov9-fsys2-sysreg
> +              - samsung,exynosautov9-peric0-sysreg
> +              - samsung,exynosautov9-peric1-sysreg
> +          - const: samsung,exynosautov9-sysreg
> +          - const: syscon
>
>    reg:
>      maxItems: 1
> --
> 2.17.1
>
Rob Herring (Arm) Dec. 20, 2022, 5:18 p.m. UTC | #2
On Wed, 14 Dec 2022 10:13:41 +0530, 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      | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
index 427df05224e5..da43efb0ce80 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
@@ -35,6 +34,7 @@  properties:
           - enum:
               - samsung,exynos5433-sysreg
               - samsung,exynos850-sysreg
+              - samsung,exynosautov9-sysreg
           - const: syscon
             deprecated: true
       - items:
@@ -43,6 +43,13 @@  properties:
               - samsung,exynos850-peri-sysreg
           - const: samsung,exynos850-sysreg
           - const: syscon
+      - items:
+          - enum:
+              - samsung,exynosautov9-fsys2-sysreg
+              - samsung,exynosautov9-peric0-sysreg
+              - samsung,exynosautov9-peric1-sysreg
+          - const: samsung,exynosautov9-sysreg
+          - const: syscon
 
   reg:
     maxItems: 1